Make cap deploy follow a branch in deploy_config.yml
This commit is contained in:
parent
f8cec95d7a
commit
cb67c14a51
2 changed files with 6 additions and 0 deletions
|
|
@ -7,5 +7,8 @@ set :user, config['user']
|
|||
if config['password']
|
||||
set :password, config['password']
|
||||
end
|
||||
if config['branch']
|
||||
set :branch, config['branch']
|
||||
end
|
||||
set :repository, config['repo']
|
||||
server config['server'], :app, :web, :db, :primary => true
|
||||
|
|
|
|||
|
|
@ -7,5 +7,8 @@ set :user, config['user']
|
|||
if config['password']
|
||||
set :password, config['password']
|
||||
end
|
||||
if config['branch']
|
||||
set :branch, config['branch']
|
||||
end
|
||||
set :repository, config['repo']
|
||||
server config['server'], :app, :web, :db, :primary => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue