From 870664d2e915d51c4913e5d183a14c5605e754a8 Mon Sep 17 00:00:00 2001 From: Francis Kayiwa Date: Fri, 16 Aug 2024 16:20:18 -0400 Subject: [PATCH] add new vms back up we can now deploy to two VMS Co-authored-by: Beck Davis --- config/deploy/production.rb | 2 +- config/deploy/staging.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index a93319b..01cb875 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -8,7 +8,7 @@ # server "example.com", user: "deploy", roles: %w{app db web}, my_property: :my_value # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value # server "db.example.com", user: "deploy", roles: %w{db} -# server 'lockers-and-study-spaces-prod1.princeton.edu', user: 'deploy', roles: %w[app db web] +server 'lockers-and-study-spaces-prod1.princeton.edu', user: 'deploy', roles: %w[app db web] server 'lockers-and-study-spaces-prod2.princeton.edu', user: 'deploy', roles: %w[app db web cron_prod2] # role-based syntax diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb index 5837613..8aa420d 100644 --- a/config/deploy/staging.rb +++ b/config/deploy/staging.rb @@ -8,7 +8,7 @@ # server "example.com", user: "deploy", roles: %w{app db web}, my_property: :my_value # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value # server "db.example.com", user: "deploy", roles: %w{db} -# server 'lockers-and-study-spaces-staging1.princeton.edu', user: 'deploy', roles: %w[app db web] +server 'lockers-and-study-spaces-staging1.princeton.edu', user: 'deploy', roles: %w[app db web] server 'lockers-and-study-spaces-staging2.princeton.edu', user: 'deploy', roles: %w[app db web] # role-based syntax