updated deployment with branch

This commit is contained in:
Andrew Cantino 2013-11-06 23:46:44 -08:00
parent 8d864c4a0b
commit aa8cea24de

View file

@ -11,10 +11,12 @@ set :use_sudo, false
set :scm, :git
set :rails_env, 'production'
set :repository, "git@github.com:you/huginn-private.git"
set :branch, "master"
set :branch, ENV['BRANCH'] || "master"
set :deploy_via, :remote_cache
set :keep_releases, 5
puts " Deploying #{branch}"
set :bundle_without, [:development]
server "yourdomain.com", :app, :web, :db, :primary => true