Ask for which branch to deploy
This commit is contained in:
parent
a95babec22
commit
b2913dc616
|
@ -5,7 +5,7 @@ set :application, 'clarion'
|
||||||
set :repo_url, 'https://github.com/ignisf/clarion.git'
|
set :repo_url, 'https://github.com/ignisf/clarion.git'
|
||||||
|
|
||||||
# Default branch is :master
|
# Default branch is :master
|
||||||
# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call
|
ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call
|
||||||
|
|
||||||
# Default deploy_to directory is /var/www/my_app
|
# Default deploy_to directory is /var/www/my_app
|
||||||
set :deploy_to, '/home/barf/clarion'
|
set :deploy_to, '/home/barf/clarion'
|
||||||
|
|
Loading…
Reference in New Issue