Skip to content

Instantly share code, notes, and snippets.

@felipefontoura
Created March 22, 2016 21:31
Show Gist options
  • Save felipefontoura/fe0e130eccb1d1330def to your computer and use it in GitHub Desktop.
Save felipefontoura/fe0e130eccb1d1330def to your computer and use it in GitHub Desktop.
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