Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
Fix javadoc upload on successful travis build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjardine committed Feb 24, 2016
1 parent f70ee21 commit 178d2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .utility/update_site_apidocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

echo -e "Publishing javadoc to gh-pages . . .\n"

cp -R ./gwtbootstrap3-extras/target/javadoc $HOME/javadoc-latest
cp -R -v ./target/apidocs $HOME/javadoc-latest

git config --global user.email "[email protected]"
git config --global user.name "travis-ci"
Expand All @@ -28,7 +28,7 @@ cp -Rf $HOME/javadoc-latest ./snapshot/extras-apidocs

git add -f .
git commit -m "Auto-push javadoc to gh-pages successful. (Travis build: $TRAVIS_BUILD_NUMBER)"
git push -fq origin gh-pages > /dev/null
git push -fq origin gh-pages

echo -e "Published javadoc to gh-pages.\n"

Expand Down

0 comments on commit 178d2ba

Please sign in to comment.