Skip to content

Commit

Permalink
update prod deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight committed Oct 12, 2023
1 parent 255dd6f commit 71e6c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/deploy/prod.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Resque configuration for test
role :resque_worker, 'ac-nginx-prod1.cul.columbia.edu'
role :resque_scheduler, 'ac-nginx-prod1.cul.columbia.edu'
role :resque_worker, "ac-rails-#{fetch(:stage)}1.cul.columbia.edu"
role :resque_scheduler, "ac-rails-#{fetch(:stage)}1.cul.columbia.edu"

set :workers, { '*' => 6 }

Expand All @@ -18,6 +18,6 @@
after 'deploy:restart', 'resque:restart'


server 'ac-nginx-prod1.cul.columbia.edu', user: fetch(:remote_user), roles: %w(app db web)
server "ac-rails-#{fetch(:stage)}1.cul.columbia.edu", user: fetch(:remote_user), roles: %w(app db web)
# In test/prod, deploy from release tags; most recent version is default
ask :branch, proc { `git tag --sort=version:refname`.split("\n").last }

0 comments on commit 71e6c53

Please sign in to comment.