Deploy: branch base on BRANCH var
This commit is contained in:
parent
9ee1119656
commit
1433331fb5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ task :deploy do
|
|||
raise "STAGE #{STAGE} is unknown. It must be either dev or master"
|
||||
end
|
||||
|
||||
branch = ENV['STAGE']
|
||||
branch = ENV['BRANCH'] || 'dev'
|
||||
|
||||
domains.each do |domain|
|
||||
sh "mina deploy domain=#{domain} branch=#{branch} force_asset_precompile=true"
|
||||
|
|
Loading…
Reference in a new issue