Skip to content

Commit

Permalink
Fix #535 - Docs committed by travis-ci instead of selfiebot.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeewax committed May 7, 2015
1 parent e9c7fa2 commit 91201b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
set +e
git add .
set -e
git status
# H/T: https://github.com/dhermes
if [[ -n "$(git status --porcelain)" ]]; then
# commit to gh-pages branch to apply changes
git config user.name "selfiebot"
git config user.name "travis-ci"
git config user.email "travis@travis-ci.org"
git commit -m "Update docs after merge to master"
git status
git push https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} HEAD:gh-pages
Expand Down

0 comments on commit 91201b8

Please sign in to comment.