From 27655101ca6def58431b02df555dbe7940a867f1 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 1 Jul 2016 14:05:55 -0500 Subject: [PATCH] Remove :clear_cache example from deploy.rb tmpl This example was confusing for beginners. Remove it for now until we can replace it with something more beginner-friendly, like a link to a video tutorial. Fixes #1716 --- lib/capistrano/templates/deploy.rb.erb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/capistrano/templates/deploy.rb.erb b/lib/capistrano/templates/deploy.rb.erb index efe915f0..953be23f 100644 --- a/lib/capistrano/templates/deploy.rb.erb +++ b/lib/capistrano/templates/deploy.rb.erb @@ -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