travis: commit message

This commit is contained in:
Carl Pearson
2017-12-17 17:24:08 -06:00
parent 24d9b9d624
commit f132b01a47

View File

@@ -11,12 +11,11 @@ script:
after_success: | after_success: |
if [ -n "$GITHUB_TOKEN" ]; then if [ -n "$GITHUB_TOKEN" ]; then
cd "$TRAVIS_BUILD_DIR" cd "$TRAVIS_BUILD_DIR"
# This generates a `web` directory containing the website.
cd public cd public
git init git init
git checkout -b master git checkout -b master
git add . git add .
git -c user.name='cwpearson' -c user.email='carl.w.pearson@gmail.com' commit -m init git -c user.name='cwpearson' -c user.email='carl.w.pearson@gmail.com' commit -m "push from hugo-cwpearson $TRAVIS_BRANCH"
# Make sure to make the output quiet, or else the API token will leak! # Make sure to make the output quiet, or else the API token will leak!
# This works because the API key can replace your password. # This works because the API key can replace your password.
git push -f https://cwpearson:$GITHUB_TOKEN@github.com/cwpearson/cwpearson.github.io master git push -f https://cwpearson:$GITHUB_TOKEN@github.com/cwpearson/cwpearson.github.io master