Remove default fallback on staging for the deploy destination

Explicit > implicit
This commit is contained in:
gregoirenovel 2018-09-20 11:28:58 +02:00
parent ec545758c3
commit fd13f9dbb2
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
# repository - Git repo to clone from. (needed by mina/git)
# branch - Branch name to deploy. (needed by mina/git)
ENV['to'] ||= "staging"
if !["staging", "production"].include?(ENV['to'])
raise "Bad to=#{+ENV['to']}"
end