Branch value in log is now correct
This commit is contained in:
parent
46c0e04b0c
commit
a7969e5507
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,6 @@ raise "Bad to=#{+ENV['to']}" unless ["staging", "production"].include?(ENV['to']
|
|||
|
||||
raise "missing domain, run with 'rake deploy domain=37.187.154.237'" if ENV['domain'].nil?
|
||||
|
||||
print "Deploy to #{ENV['to']} environment branch #{branch}\n"
|
||||
|
||||
# set :domain, '5.135.190.60'
|
||||
set :domain, ENV['domain']
|
||||
|
@ -37,6 +36,8 @@ when "production"
|
|||
appname = 'tps'
|
||||
end
|
||||
|
||||
print "Deploy to #{ENV['to']} environment branch #{branch}\n"
|
||||
|
||||
set :rails_env, ENV["to"]
|
||||
|
||||
# For system-wide RVM install.
|
||||
|
|
Loading…
Reference in a new issue