mina: fix rollback

Attempt to fix some requests failing in production during a rollback,
probably due to an incorrectly restarted server.
This commit is contained in:
Pierre de La Morinerie 2020-06-23 13:07:39 +00:00
parent c30da86832
commit b05798b305

View file

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