mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #1718 from capistrano/mattbrictson-patch-1
Remove :clear_cache example from deploy.rb template
This commit is contained in:
commit
bf78f47899
1 changed files with 0 additions and 13 deletions
|
@ -34,16 +34,3 @@ set :repo_url, 'git@example.com:me/my_repo.git'
|
|||
|
||||
# Default value for keep_releases is 5
|
||||
# set :keep_releases, 5
|
||||
|
||||
namespace :deploy do
|
||||
|
||||
after :restart, :clear_cache do
|
||||
on roles(:web), in: :groups, limit: 3, wait: 10 do
|
||||
# Here we can do anything such as:
|
||||
# within release_path do
|
||||
# execute :rake, 'cache:clear'
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue