Skip to content

Instantly share code, notes, and snippets.

@olebedev
Forked from ademuk/wercker-dokku-deploy.yml
Created February 18, 2016 10:31
Show Gist options
  • Save olebedev/d1715caa72a722f265df to your computer and use it in GitHub Desktop.
Save olebedev/d1715caa72a722f265df 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