From 8b0b63ed111e663061021236ab028cf9349afff6 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 10 Feb 2015 16:22:17 +0100 Subject: [PATCH] Reinstate cached-copy --- config/deploy.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 2f66e856..e84f768a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -60,7 +60,11 @@ namespace :deploy do end end - after :publishing, :restart + after :publishing, :restart do + within shared_path.join('cached-copy') do + execute :git, :pull + end + end after :restart, :clear_cache do on roles(:web), in: :groups, limit: 3, wait: 10 do