From 71e6c53c54011859dd34b275d2865607f92af3dd Mon Sep 17 00:00:00 2001 From: JackBlackLight Date: Thu, 12 Oct 2023 15:37:21 -0400 Subject: [PATCH] update prod deploy config --- config/deploy/prod.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/deploy/prod.rb b/config/deploy/prod.rb index 5eabdc257..7cfa1b85a 100644 --- a/config/deploy/prod.rb +++ b/config/deploy/prod.rb @@ -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 } @@ -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 }