From 1daaf96438c5a5c1654ed36a12cc6daeb4459563 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 22 Aug 2018 18:15:00 +0200 Subject: [PATCH] [ENV] Stop using shared config --- config/deploy.rb | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index a10494858..2aa98afd8 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -53,20 +53,7 @@ set :shared_paths, [ 'tmp/sockets', 'public/system', 'public/uploads', - 'config/database.yml', - "config/skylight.yml", - "config/fog_credentials.yml", - 'config/storage.yml', - 'config/initializers/secret_token.rb', - "config/environments/#{rails_env}.rb", - "config/initializers/token.rb", - "config/unicorn.rb", - "config/initializers/raven.rb", - 'config/france_connect.yml', - 'config/github_secrets.yml', - 'config/basic_auth.yml', - 'config/initializers/mailjet.rb', - 'config/initializers/storage_url.rb' + 'config/unicorn.rb' ] set :rbenv_path, "/usr/local/rbenv/bin/rbenv" @@ -111,15 +98,6 @@ task :setup => :environment do queue! %[mkdir -p "#{deploy_to}/shared/config/locales/dynamics"] queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/config/locales/dynamics"] - - queue! %[touch "#{deploy_to}/shared/config/database.yml"] - queue %[echo "-----> Be sure to edit 'shared/config/database.yml'."] - - queue! %[touch "#{deploy_to}/shared/environments/production.rb"] - queue %[echo "-----> Be sure to edit 'shared/environments/production.rb'."] - - queue! %[touch "#{deploy_to}/shared/environments/staging.rb"] - queue %[echo "-----> Be sure to edit 'shared/environments/staging.rb'."] end namespace :yarn do