Merge pull request #3020 from betagouv/cleanup-releases-after-deploy

Cleanup releases after deploy
This commit is contained in:
gregoirenovel 2018-11-21 14:39:37 +01:00 committed by GitHub
commit 98df9ba07f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,7 @@ task :deploy do
invoke :'service:restart_puma' invoke :'service:restart_puma'
invoke :'service:reload_nginx' invoke :'service:reload_nginx'
invoke :'service:restart_delayed_job' invoke :'service:restart_delayed_job'
invoke :'deploy:cleanup'
end end
end end
end end