Skip to content

Instantly share code, notes, and snippets.

@cjbell
Created November 16, 2012 02:07
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/4083279 to your computer and use it in GitHub Desktop.
Save cjbell/4083279 to your computer and use it in GitHub Desktop.
Heroku Deploy For Rails
function heroku_deploy(){
rake assets:precompile && g add . && g ca -m "Assets pre-compiled" && git push origin "$@" && git push heroku "$@":master && heroku run rake db:migrate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment