Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #535 - Docs committed by travis-ci instead of selfiebot. #536

Merged
merged 1 commit into from
May 7, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix #535 - Docs committed by travis-ci instead of selfiebot.
  • Loading branch information
jgeewax committed May 7, 2015
commit 91201b8d932b1509160cb16226cbd74bc02ef52e
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

This comment was marked as spam.

This comment was marked as spam.

# commit to gh-pages branch to apply changes

This comment was marked as spam.

This comment was marked as spam.

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