Remove default fallback on staging for the deploy destination
Explicit > implicit
This commit is contained in:
parent
ec545758c3
commit
fd13f9dbb2
2 changed files with 1 additions and 2 deletions
|
@ -104,7 +104,7 @@ jobs:
|
|||
- deploy:
|
||||
command: |
|
||||
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
||||
bundle exec rake deploy
|
||||
bundle exec rake deploy to=staging
|
||||
fi
|
||||
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue