Created
May 10, 2014 13:33
-
-
Save StanBoyet/8c9ee5f1b6e3bd0638fd to your computer and use it in GitHub Desktop.
Precompile assets for heroku deployment
This file contains 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
#!/bin/bash | |
echo 'Script start' | |
read -p "Precompile & Push on Test ? (y/n)?" | |
[ "$REPLY" == "y" ] || RAILS_ENV=production bundle exec rake assets:precompile; git add public/assets; git commit -m "vendor compiled assets"; git push heroku-test master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment