travis: silence push

This commit is contained in:
Carl Pearson
2017-12-17 17:25:18 -06:00
parent f132b01a47
commit 80071156c0

View File

@@ -18,6 +18,6 @@ after_success: |
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!
# 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 -q https://cwpearson:$GITHUB_TOKEN@github.com/cwpearson/cwpearson.github.io master 2> /dev/null
cd "$TRAVIS_BUILD_DIR"
fi