diff --git a/lib/tasks/deploy.rake b/lib/tasks/deploy.rake index 6d02caf16..4cf488ea3 100644 --- a/lib/tasks/deploy.rake +++ b/lib/tasks/deploy.rake @@ -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"