Skip to content

Commit

Permalink
remove config/database.yml from shared paths in deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
shanet committed Jul 7, 2016
1 parent 0732740 commit 91b33b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
# They will be linked in the 'deploy:link_shared_paths' step.
set :shared_paths, %w{ log public/system config/secrets.yml config/piwik.yml tmp .env.production}

task :environment do
# For those using RVM, use this to load an RVM version@gemset.
invoke :'rvm:use[ruby-2.3.0]'
end

set :shared_paths, %w{ config/database.yml log public/system config/secrets.yml config/piwik.yml tmp .env.production}

task setup: :environment do
queue! %[mkdir -p "#{deploy_to}/shared/log"]
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"]
Expand Down

0 comments on commit 91b33b5

Please sign in to comment.