mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
updated deployment with branch
This commit is contained in:
parent
8d864c4a0b
commit
aa8cea24de
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue