Created
November 16, 2012 02:07
-
-
Save cjbell/4083279 to your computer and use it in GitHub Desktop.
Heroku Deploy For Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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