Created
May 8, 2014 16:56
-
-
Save ismell/a05035f441465e57cf52 to your computer and use it in GitHub Desktop.
Precompile and cache rails assets on CircleCI
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
dependencies: | |
# Compute the assets once and cache them | |
post: | |
- bundle exec rake assets:precompile assets:clean_expired: | |
environment: | |
RAILS_GROUPS: assets | |
cache_directories: | |
- "public/assets" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍 though assets:clean_expired didn't seam to work for me