capistrano fix

This commit is contained in:
2015-02-10 16:25:05 +01:00
parent 8b0b63ed11
commit 66eb59844b
+2
View File
@@ -61,10 +61,12 @@ namespace :deploy do
end
after :publishing, :restart do
on roles(:app), in: :sequence, wait: 5 do
within shared_path.join('cached-copy') do
execute :git, :pull
end
end
end
after :restart, :clear_cache do
on roles(:web), in: :groups, limit: 3, wait: 10 do