capistrano fix
This commit is contained in:
@@ -61,10 +61,12 @@ namespace :deploy do
|
|||||||
end
|
end
|
||||||
|
|
||||||
after :publishing, :restart do
|
after :publishing, :restart do
|
||||||
|
on roles(:app), in: :sequence, wait: 5 do
|
||||||
within shared_path.join('cached-copy') do
|
within shared_path.join('cached-copy') do
|
||||||
execute :git, :pull
|
execute :git, :pull
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
after :restart, :clear_cache do
|
after :restart, :clear_cache do
|
||||||
on roles(:web), in: :groups, limit: 3, wait: 10 do
|
on roles(:web), in: :groups, limit: 3, wait: 10 do
|
||||||
|
|||||||
Reference in New Issue
Block a user