Skip to content

Instantly share code, notes, and snippets.



Last active Sep 8, 2016
What would you like to do?
set -e
cd build/distributions
git init
git config "travis-ci"
git config "${COMMIT_AUTHOR_EMAIL}"
git add .
git commit -m "Deploy Travis CI Build #${TRAVIS_BUILD_NUMBER} artifacts to GitHub"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:build-artifacts > /dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment