From 7728b75912618ab4a1134566e071c10d9c48bec3 Mon Sep 17 00:00:00 2001 From: Eric O Date: Wed, 27 Dec 2023 23:58:46 -0500 Subject: [PATCH] Deployment config updates --- config/deploy.rb | 2 +- config/deploy/prod.rb | 2 +- config/deploy/test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index c2521a072..8da9aed44 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -9,7 +9,7 @@ set :rvm_custom_path, '~/.rvm-alma8' set :remote_user, 'ldpdserv' -set :application, 'hyacinth' +set :application, 'hyacinth_2' set :repo_name, 'ldpd-hyacinth' set :repo_url, "git@github.com:cul/#{fetch(:repo_name)}.git" set :deploy_name, "#{fetch(:application)}_#{fetch(:stage)}" diff --git a/config/deploy/prod.rb b/config/deploy/prod.rb index ec7c66cd3..228c430d0 100644 --- a/config/deploy/prod.rb +++ b/config/deploy/prod.rb @@ -1,3 +1,3 @@ -server "#{fetch(:instance)}-nginx-#{fetch(:stage)}1.cul.columbia.edu", user: fetch(:remote_user), roles: %w(app db web) +server 'hy-rails-prod1.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 } diff --git a/config/deploy/test.rb b/config/deploy/test.rb index ec7c66cd3..fc1d36a95 100644 --- a/config/deploy/test.rb +++ b/config/deploy/test.rb @@ -1,3 +1,3 @@ -server "#{fetch(:instance)}-nginx-#{fetch(:stage)}1.cul.columbia.edu", user: fetch(:remote_user), roles: %w(app db web) +server 'hy-rails-test1.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 }