From 7add23e62ae74e7a089898b6c59239f4a4e353aa Mon Sep 17 00:00:00 2001 From: Dinis Date: Sat, 22 Aug 2020 13:57:32 +0100 Subject: [PATCH] Use production rails_env in staging deployment - should investigate what else is needed for correct asset compilation in a new env. --- config/deploy/staging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb index 8a604ba..d43c9df 100644 --- a/config/deploy/staging.rb +++ b/config/deploy/staging.rb @@ -10,7 +10,7 @@ ask :deployer_username, 'deployer' server "usaserver4.senolage.net", user: fetch(:deployer_username), roles: %w{app db web}, :primary => true ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp set :deploy_to, "/srv/www/ss-calculator-staging" -set :rails_env, 'staging' +set :rails_env, 'production' # role-based syntax # ==================