Skip to content

Commit

Permalink
Add auto-sync for contributing.md into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiaohao committed Nov 27, 2013
1 parent a13f49a commit c0d9a12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .utility/push-to-gh-pages.sh
Expand Up @@ -4,6 +4,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then

cp -R build/docs/javadoc $HOME/javadoc-latest
cp -f README.md $HOME/index-latest.md
cp -f contributing.md $HOME/contributing-latest.md

cd $HOME
git config --global user.email "travis@travis-ci.org"
Expand All @@ -14,6 +15,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
git rm -rf ./javadoc ./index.md
cp -Rf $HOME/javadoc-latest ./javadoc
cp -f $HOME/index-latest.md ./index.md
cp -f $HOME/contributing-latest.md ./contributing.md
git add -f .
git commit -m "Auto-publishing on successful travis build $TRAVIS_BUILD_NUMBER"
git push -fq origin gh-pages > /dev/null
Expand Down

0 comments on commit c0d9a12

Please sign in to comment.