Skip to content

Instantly share code, notes, and snippets.

@bverbeken
Created February 6, 2014 12:43
Show Gist options
  • Save bverbeken/8843449 to your computer and use it in GitHub Desktop.
Save bverbeken/8843449 to your computer and use it in GitHub Desktop.
Deploy to heroku - bash
deploy() {
heroku maintenance:on -r $1
git push $1
heroku maintenance:off -r $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment