Last active
December 20, 2016 10:26
-
-
Save foursixnine/c6651ad21ffde948fac583730fe92ee6 to your computer and use it in GitHub Desktop.
quickly setup travis commits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -N '' -f .openqa-travis | |
travis.ruby2.2 --github-token ${YOURGHTOKEN} encrypt-file .openqa-travis | |
travis.ruby2.2 encrypt-file .openqa-travis | |
# add line on your .travis as requested | |
git add .openqa-travis.enc | |
echo .gitignore .openqa-travis >> .gitignore | |
cat .openqa-travis.pub # Add the new key to your deploy keys on github with write-access | |
git commit --amend .travis.yml .gitignore .openqa-travis.enc | |
# check https://docs.travis-ci.com/user/encryption-keys/ and https://github.com/jirutka/rake-jekyll for more info https://oncletom.io/2016/travis-ssh-deploy/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment