diff --git a/config/deploy.rb b/config/deploy.rb index 95e04f12..9b54df0c 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -60,7 +60,7 @@ namespace :deploy do end end - task :update_cached_copy do + task :update_remote_cache do on roles(:app), in: :sequence, wait: 5 do within shared_path.join('cached-copy') do execute :git, :pull @@ -73,7 +73,7 @@ namespace :deploy do end after :publishing, :restart do - update_cached_copy + update_remote_cache end after :restart, :clear_cache do