Created
May 31, 2013 23:15
-
-
Save mikeatlas/5688575 to your computer and use it in GitHub Desktop.
Sample circle.yml - How to precompile assets of a rails project (using the turbo-sprockets-rails3 gem) before pushing to heroku
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
deployment: | |
continuous_integration_deployment_test: | |
branch: master | |
commands: | |
- git config --global user.email "[email protected]" | |
- git config --global user.name "Continuous Integration" | |
- git checkout -b with_precompiled_assets | |
- bundle exec rake assets:precompile assets:clean_expired: | |
timeout: 1500 | |
- git add public/assets | |
- git commit -m 'adding precompiled assets' | |
- git push [email protected]:appname-ci.git with_precompiled_assets -f: | |
timeout: 900 | |
- heroku run bundle exec rake db:migrate --app appname-ci: | |
timeout: 900 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment