Reinstate cached-copy
This commit is contained in:
+5
-1
@@ -60,7 +60,11 @@ namespace :deploy do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
after :publishing, :restart
|
after :publishing, :restart do
|
||||||
|
within shared_path.join('cached-copy') do
|
||||||
|
execute :git, :pull
|
||||||
|
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