Use production rails_env in staging deployment - should investigate what else is needed for correct asset compilation in a new env.

This commit is contained in:
2020-08-22 13:57:32 +01:00
parent 371cfb25f1
commit 7add23e62a
+1 -1
View File
@@ -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
# ==================