We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capcake should hook somewhere (before deploy:publishing?) to clear cache
before deploy:publishing
namespace :deploy do before publishing, :clear_cache do on roles(:app) do within release_path do execute :rm, '-rf', 'tmp/cache/**/*' end end end end
The text was updated successfully, but these errors were encountered:
@chadrien good idea! Can you submit a PR?
Sorry, something went wrong.
It might not be necessary to have a task for this. As of CakePHP v3.3.0 clearing the cache can be accomplished out of the box with capcake by running:
bundle exec cap production cakephp:cake[cache,clear_all]
No branches or pull requests
Capcake should hook somewhere (
before deploy:publishing
?) to clear cacheThe text was updated successfully, but these errors were encountered: