diff --git a/config/deploy.rb b/config/deploy.rb index e84f768a..2538b194 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -61,8 +61,10 @@ namespace :deploy do end after :publishing, :restart do - within shared_path.join('cached-copy') do - execute :git, :pull + on roles(:app), in: :sequence, wait: 5 do + within shared_path.join('cached-copy') do + execute :git, :pull + end end end