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