Dedigest assets after deploy

This commit is contained in:
2014-07-11 13:50:31 +02:00
parent 181a6142a3
commit 7a6177da2c
2 changed files with 12 additions and 3 deletions
+4 -3
View File
@@ -55,9 +55,10 @@ namespace :deploy do
after :restart, :clear_cache do
on roles(:web), in: :groups, limit: 3, wait: 10 do
# Here we can do anything such as:
# within release_path do
# execute :rake, 'cache:clear'
# end
within release_path do
#execute :rake, 'cache:clear', as: 'www-data'
execute :rake, 'dedigest_assets', as: 'www-data'
end
end
end