Created
February 21, 2013 22:20
-
-
Save tystr/5008881 to your computer and use it in GitHub Desktop.
Clearing APC cache when deploying a symfony2 application
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
| # Clear APC caches | |
| after "deploy:finalize_update" do | |
| pretty_print "--> Clearing APC caches" | |
| run "cd #{release_path} && php app/console apc:clear --env=prod" | |
| puts_ok | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment