Skip to content

Instantly share code, notes, and snippets.

@ademuk
Created November 5, 2014 11:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ademuk/44bef9c3a326c22a3c46 to your computer and use it in GitHub Desktop.
Save ademuk/44bef9c3a326c22a3c46 to your computer and use it in GitHub Desktop.
Wercker Dokku deploy
deploy:
steps:
- add-to-known_hosts:
hostname: $HOSTNAME
- add-ssh-key:
keyname: KEY
- script:
name: Push to dokku
code: |
git remote add dokku dokku@$HOSTNAME:$APP
git push dokku HEAD:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment