Skip to content

Instantly share code, notes, and snippets.

@felipefontoura
Created March 22, 2016 21:31
Wercker CI Recipes
deploy:
steps:
- bundle-install
- add-to-known_hosts:
hostname: myserver.example.com
- create-file:
name: write key
filename: $HOME/.ssh/id_rsa
content: $DEPLOYMENT_SSH_KEY_PRIVATE
overwrite: true
hide-from-log: true
- script:
name: capistrano
code: bundle exec cap production deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment