Skip to content

Commit

Permalink
AO3-4920 Deploy to the servers gently (#2806)
Browse files Browse the repository at this point in the history
* Add rspec tests for the comments controller

* Add some defensive code

* Fix comments_controller.rb

* Slow down the deploy
  • Loading branch information
zz9pzza authored and sarken committed Mar 19, 2017
1 parent 0a3b170 commit 0420bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/deploy.rb
Expand Up @@ -69,7 +69,7 @@
find_servers(roles: [:app, :web]).each do |server|
puts "restart on #{server.host}"
run "cd ~/app/current ; bundle exec rake skins:cache_all_site_skins RAILS_ENV=#{rails_env}" , :hosts => server.host
run "/home/ao3app/bin/unicorns_reload immediately", :hosts => server.host
run "/home/ao3app/bin/unicorns_reload", :hosts => server.host
end
end

Expand Down

0 comments on commit 0420bbf

Please sign in to comment.