Make cap deploy follow a branch in deploy_config.yml

This commit is contained in:
Raphael Sofaer 2011-02-08 16:05:00 -08:00
parent f8cec95d7a
commit cb67c14a51
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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