Skip to content

Commit ef3a102

Browse files
committed
demo
1 parent 8caf7f7 commit ef3a102

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/deploy.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
set :repository, '[email protected]:foocorp/rails-demo.git'
1616
set :branch, 'main'
1717
set :rvm_use_path, '/etc/profile.d/rvm.sh'
18+
set :rails_env, 'production'
1819

1920
# Optional settings:
2021
# set :user, 'foobar' # Username in the server to SSH to.
@@ -25,7 +26,7 @@
2526
# Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more
2627
# run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files`
2728
# set :shared_dirs, fetch(:shared_dirs, []).push('public/assets')
28-
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/credentials/production.yml.enc')
29+
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/credentials/production.key', 'config/master.key', 'config/credentials/production.yml.enc')
2930
set :shared_dirs, fetch(:shared_dirs, []).push('public/packs', 'node_modules')
3031

3132
# This task is the environment that is loaded for all remote run commands, such as

0 commit comments

Comments
 (0)