Skip to content

Commit

Permalink
fix #298
Browse files Browse the repository at this point in the history
  • Loading branch information
d4be4st committed Jul 5, 2015
1 parent 514ff10 commit 8ef7b3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# 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, ['config/database.yml', 'log']
set :shared_paths, ['config/database.yml', 'config/secrets.yml', 'log']

# Optional settings:
# set :user, 'foobar' # Username in the server to SSH to.
Expand Down Expand Up @@ -49,7 +49,8 @@
queue! %[chmod g+rx,u+rwx "#{deploy_to}/#{shared_path}/config"]

queue! %[touch "#{deploy_to}/#{shared_path}/config/database.yml"]
queue %[echo "-----> Be sure to edit '#{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'."]

queue %[
repo_host=`echo $repo | sed -e 's/.*@//g' -e 's/:.*//g'` &&
Expand Down Expand Up @@ -87,4 +88,3 @@
# - http://nadarei.co/mina/tasks
# - http://nadarei.co/mina/settings
# - http://nadarei.co/mina/helpers

0 comments on commit 8ef7b3a

Please sign in to comment.