diff options
author | Christian Edward Gruber <cgruber@google.com> | 2015-02-24 13:06:08 -0800 |
---|---|---|
committer | Christian Edward Gruber <cgruber@google.com> | 2015-02-24 13:48:41 -0800 |
commit | 160372e57bda7e472e4b9396d813c974a83be8cf (patch) | |
tree | 9873d65ccd54f06b28a70613c31384d7d9c69261 /util/generate-latest-docs.sh | |
parent | 36535983e24ebdb9bc1ad6c22910414abcd15028 (diff) | |
download | auto-160372e57bda7e472e4b9396d813c974a83be8cf.tar.gz |
Fix bad project slug in the publishing scripts, plus fix a typo.
Diffstat (limited to 'util/generate-latest-docs.sh')
-rwxr-xr-x | util/generate-latest-docs.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generate-latest-docs.sh b/util/generate-latest-docs.sh index 34ff5fb8..8617ba41 100755 --- a/util/generate-latest-docs.sh +++ b/util/generate-latest-docs.sh @@ -1,6 +1,6 @@ # see http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ for details -if [ "$TRAVIS_REPO_SLUG" == "google/truth" ] && \ +if [ "$TRAVIS_REPO_SLUG" == "google/auto" ] && \ [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && \ [ "$TRAVIS_PULL_REQUEST" == "false" ] && \ [ "$TRAVIS_BRANCH" == "master" ]; then @@ -10,7 +10,7 @@ if [ "$TRAVIS_REPO_SLUG" == "google/truth" ] && \ TARGET="$(pwd)/target" cd $HOME - git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/google/truth gh-pages > /dev/null + git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/google/auto gh-pages > /dev/null cd gh-pages git config --global user.email "travis@travis-ci.org" @@ -18,7 +18,7 @@ if [ "$TRAVIS_REPO_SLUG" == "google/truth" ] && \ git rm -rf api/latest mv ${TARGET}/site/apidocs api/latest git add -A -f api/latest - git commit -m "Lastest javadoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages" + git commit -m "Latest javadoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to gh-pages" git push -fq origin gh-pages > /dev/null echo -e "Published Javadoc to gh-pages.\n" |