Merge pull request #5289 from betagouv/fix-rollback

mina: fix rollback
This commit is contained in:
Pierre de La Morinerie 2020-06-23 15:28:22 +02:00 committed by GitHub
commit 431485ebef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,6 @@ task :rollback do
branch = ENV.fetch('BRANCH')
domains.each do |domain|
sh "mina rollback domain=#{domain} branch=#{branch}"
sh "mina service:restart_puma domain=#{domain} branch=#{branch}"
sh "mina rollback service:restart_puma service:reload_nginx service:restart_delayed_job domain=#{domain} branch=#{branch}"
end
end