Created
March 22, 2016 21:31
-
-
Save felipefontoura/fe0e130eccb1d1330def to your computer and use it in GitHub Desktop.
Wercker CI Recipes
This file contains 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
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