Skip to content

[v3] Clear cache #16

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions