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