From 91201b8d932b1509160cb16226cbd74bc02ef52e Mon Sep 17 00:00:00 2001 From: JJ Geewax Date: Thu, 7 May 2015 09:02:09 -0400 Subject: [PATCH] Fix #535 - Docs committed by travis-ci instead of selfiebot. --- scripts/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 3bba4be3d89..5f6b1b9423f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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