Skip to content

Commit 65abbf6

Browse files
committed
Using both user name and email for gh-pages commits.
The Travis logs indicate git is hinting that both an email and a name should be set: > Update docs after merge to master. > Committer: selfiebot <travis@testing-worker-linux-docker-981a76b7-3328-linux-4.prod.travis-ci.org> > Your name and email address were configured automatically based > on your username and hostname. Please check that they are accurate. > You can suppress this message by setting them explicitly: > git config --global user.name "Your Name" > git config --global user.email you@example.com > After doing this, you may fix the identity used for this commit with: > git commit --amend --reset-author From https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/44498713
1 parent 932cc07 commit 65abbf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/update_docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ git status
3131
# H/T: https://github.com/dhermes
3232
if [[ -n "$(git status --porcelain)" ]]; then
3333
# Commit to gh-pages branch to apply changes.
34-
git config user.name "selfiebot"
34+
git config --global user.email "travis@travis-ci.org"
35+
git config --global user.name "travis-ci"
3536
git commit -m "Update docs after merge to master."
3637
git push \
3738
"https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME}" \

0 commit comments

Comments
 (0)