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