From 2baa829909173a94400afe8130201db9aea92af2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 22:12:16 +0000 Subject: [PATCH 1/2] Initial plan From 4cb03c8b067363230d2dc7660297e1c69e731f37 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 22:15:19 +0000 Subject: [PATCH 2/2] Update Capistrano branch configuration for production and demo environments Co-authored-by: srbbins <1558950+srbbins@users.noreply.github.com> --- config/deploy/demo.rb | 2 +- config/deploy/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy/demo.rb b/config/deploy/demo.rb index 705b0366..a788415e 100644 --- a/config/deploy/demo.rb +++ b/config/deploy/demo.rb @@ -17,7 +17,7 @@ } #ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call -set :branch, 'demo' +set :branch, ENV['BRANCH'] || 'main' # Default deploy_to directory is /var/www/my_app_name set :deploy_to, '/home/ideals' diff --git a/config/deploy/production.rb b/config/deploy/production.rb index e38e9f2f..b299a2fc 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -17,7 +17,7 @@ } #ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call -set :branch, "production" +set :branch, "stable" # Default deploy_to directory is /var/www/my_app_name set :deploy_to, '/home/ideals'