sbt/scripts/push-gh-pages-helper.sh

8 lines
212 B
Bash
Raw Normal View History

2015-06-18 01:00:03 +02:00
#!/bin/bash
if [ "$1" = "clone" ]; then
git clone "https://${GH_TOKEN}@github.com/alexarchambault/coursier.git" -b gh-pages coursier-gh-pages >/dev/null 2>&1
2015-06-18 01:00:03 +02:00
else
git push origin gh-pages >/dev/null 2>&1
fi