Group single-line parameter definitions

This commit is contained in:
gregoirenovel 2018-10-24 14:03:06 +02:00
parent db540471d4
commit 883c981165

View file

@ -19,6 +19,8 @@ deploy_to = '/var/www/ds'
set :deploy_to, deploy_to
set :user, 'ds'
set :branch, ENV.fetch('branch')
set :rbenv_path, "/home/ds/.rbenv/bin/rbenv"
set :forward_agent, true
# 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.
@ -29,9 +31,6 @@ set :shared_dirs, [
'tmp/cache'
]
set :rbenv_path, "/home/ds/.rbenv/bin/rbenv"
set :forward_agent, true
puts "Deploy to #{ENV.fetch('domain')}, branch: #{ENV.fetch('branch')}"
# This task is the environment that is loaded for most commands, such as