You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Rails >4.1, 'mina init' would be more consistent if the generated deploy.rb would treat the 'secrets.yml' file in the same way as the 'config/database.yml' as it's not recommended to configure the production settings in the repository, like:
set :shared_paths, ['config/database.yml', 'config/secrets.yml', 'log']
task :setup => :environment do
# ...
queue! %[touch "#{deploy_to}/#{shared_path}/config/database.yml"]
queue! %[touch "#{deploy_to}/#{shared_path}/config/secrets.yml"]
queue %[echo "-----> Be sure to edit '#{deploy_to}/#{shared_path}/config/database.yml and secrets.yml'."]
end
The text was updated successfully, but these errors were encountered:
For Rails >4.1, 'mina init' would be more consistent if the generated deploy.rb would treat the 'secrets.yml' file in the same way as the 'config/database.yml' as it's not recommended to configure the production settings in the repository, like:
The text was updated successfully, but these errors were encountered: