From 178d2ba501d659d1b1f504cc3c45e2bd00c16418 Mon Sep 17 00:00:00 2001 From: Steven Jardine Date: Wed, 24 Feb 2016 15:33:03 -0700 Subject: [PATCH] Fix javadoc upload on successful travis build. --- .utility/update_site_apidocs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.utility/update_site_apidocs.sh b/.utility/update_site_apidocs.sh index 6bf65863..d0c3d0e4 100755 --- a/.utility/update_site_apidocs.sh +++ b/.utility/update_site_apidocs.sh @@ -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 "travis@travis-ci.org" git config --global user.name "travis-ci" @@ -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"