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:
parent
c30da86832
commit
b05798b305
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue