Dedigest assets after deploy
This commit is contained in:
+4
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user