Skip to content

Instantly share code, notes, and snippets.

@foursixnine
Last active December 20, 2016 10:26
Show Gist options
  • Save foursixnine/c6651ad21ffde948fac583730fe92ee6 to your computer and use it in GitHub Desktop.
Save foursixnine/c6651ad21ffde948fac583730fe92ee6 to your computer and use it in GitHub Desktop.
quickly setup travis commits
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