Group single-line parameter definitions
This commit is contained in:
parent
db540471d4
commit
883c981165
1 changed files with 2 additions and 3 deletions
|
@ -19,6 +19,8 @@ deploy_to = '/var/www/ds'
|
||||||
set :deploy_to, deploy_to
|
set :deploy_to, deploy_to
|
||||||
set :user, 'ds'
|
set :user, 'ds'
|
||||||
set :branch, ENV.fetch('branch')
|
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.
|
# 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.
|
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||||
|
@ -29,9 +31,6 @@ set :shared_dirs, [
|
||||||
'tmp/cache'
|
'tmp/cache'
|
||||||
]
|
]
|
||||||
|
|
||||||
set :rbenv_path, "/home/ds/.rbenv/bin/rbenv"
|
|
||||||
set :forward_agent, true
|
|
||||||
|
|
||||||
puts "Deploy to #{ENV.fetch('domain')}, branch: #{ENV.fetch('branch')}"
|
puts "Deploy to #{ENV.fetch('domain')}, branch: #{ENV.fetch('branch')}"
|
||||||
|
|
||||||
# This task is the environment that is loaded for most commands, such as
|
# This task is the environment that is loaded for most commands, such as
|
||||||
|
|
Loading…
Add table
Reference in a new issue