Skip to content

Instantly share code, notes, and snippets.

@cjbell
Last active December 10, 2015 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjbell/4492733 to your computer and use it in GitHub Desktop.
Save cjbell/4492733 to your computer and use it in GitHub Desktop.
Heroku deploy for Middleman. Useage: heroku_deploy master
function heroku_deploy(){
middleman build && git add . && git commit -am "Site built and deployed." && git push origin "$@" && git push heroku "$@":master
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment