Skip to content

Commit

Permalink
Deployment config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
elohanlon committed Dec 28, 2023
1 parent 4d42835 commit a796de5
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
set :rvm_custom_path, '~/.rvm-alma8'

set :remote_user, 'ldpdserv'
set :application, 'hyacinth'
set :repo_name, 'ldpd-hyacinth'
set :repo_url, "[email protected]:cul/#{fetch(:repo_name)}.git"
set :application, 'hyacinth_2'
set :repo_url, "[email protected]:cul/ldpd-hyacinth.git"
set :deploy_name, "#{fetch(:application)}_#{fetch(:stage)}"
# used to run rake db:migrate, etc
set :rails_env, fetch(:deploy_name)
Expand Down
2 changes: 1 addition & 1 deletion config/deploy/prod.rb
Original file line number Diff line number Diff line change
@@ -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 }
2 changes: 1 addition & 1 deletion config/deploy/test.rb
Original file line number Diff line number Diff line change
@@ -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 }
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a796de5

Please sign in to comment.