Skip to content

Commit

Permalink
Merge pull request #442 from dhermes/fix-user-and-email
Browse files Browse the repository at this point in the history
Using both user name and email for gh-pages commits.
  • Loading branch information
dhermes committed Dec 18, 2014
2 parents 932cc07 + 65abbf6 commit 8a6feff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/update_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ 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 --global user.email "travis@travis-ci.org"
git config --global user.name "travis-ci"
git commit -m "Update docs after merge to master."
git push \
"https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME}" \
Expand Down

0 comments on commit 8a6feff

Please sign in to comment.