Skip to content

[v3] Clear cache #16

@chadrien

Description

@chadrien

Capcake should hook somewhere (before deploy:publishing?) to clear cache

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions