mirror of https://github.com/sbt/sbt.git
New attempt at having Travis push to gh-pages
This commit is contained in:
parent
524ed3320b
commit
9186dff21c
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "clone" ]; then
|
||||
git clone "https://alexarchambault:${GH_TOKEN}@github.com/alexarchambault/coursier.git" -b gh-pages coursier-gh-pages >/dev/null 2>&1
|
||||
git clone "https://${GH_TOKEN}@github.com/alexarchambault/coursier.git" -b gh-pages coursier-gh-pages >/dev/null 2>&1
|
||||
else
|
||||
git push origin gh-pages >/dev/null 2>&1
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -49,4 +49,4 @@ fi
|
|||
|
||||
sbt ++${TRAVIS_SCALA_VERSION} $SBT_COMMANDS
|
||||
|
||||
[ "$PUSH_GHPAGES" = 0 ] || "$(dirname "$0")/push-gh-pages.sh"
|
||||
[ "$PUSH_GHPAGES" = 0 ] || "$(dirname "$0")/push-gh-pages.sh" "$TRAVIS_SCALA_VERSION"
|
||||
|
|
|
|||
Loading…
Reference in New Issue