Skip to content

Commit 279fb63

Browse files
author
Ray Schamp
committed
Revert "Set git committer single-use vars"
This reverts commit ee5aaca.
1 parent 729c4b5 commit 279fb63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ after_script:
2929
npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
3030
npm publish
3131
# Publish to gh-pages as most recent committer
32-
GIT_AUTHOR_EMAIL=$(git log --pretty=format:"%ae" -n1) GIT_AUTHOR_NAME=$(git log --pretty=format:"%an" -n1) npm run --silent deploy -- -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
32+
git config --global user.email $(git log --pretty=format:"%ae" -n1)
33+
git config --global user.name $(git log --pretty=format:"%an" -n1)
34+
npm run --silent deploy -- -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
3335
fi

0 commit comments

Comments
 (0)