Skip to content

Commit

Permalink
Update push-javadoc-to-gh-pages.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthnclt committed Dec 2, 2015
1 parent 981e2fb commit e0d5658
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .utility/push-javadoc-to-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "fal
git clone --quiet https://${JIVE_OS_TOKEN}@github.com/jivesoftware/mlogger.wiki.git > /dev/null

cd mlogger.wiki
git rm -rf ./javadoc
cp -Rf $HOME/javadoc-latest ./javadoc
git rm -rf ./apidocs
cp -Rf $HOME/apidocs ./apidocs
git add -f .
git commit -m "Lastest javadoc on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to wiki"
git commit -m "Lastest apidocs on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to wiki"
git push -fq origin master > /dev/null

echo -e "Published Javadoc to wiki.\n"
echo -e "Published apidocs to wiki.\n"

fi

0 comments on commit e0d5658

Please sign in to comment.