Skip to content

Commit

Permalink
feat(notify): change production ENVIRONMENT test
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil authored Dec 19, 2019
1 parent d01cbec commit 7165ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_notify_github_stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
.resolve_deploy_environment: &resolve_deploy_environment |
set -x

if [[ "${BRANCH_NAME}" = "master" ]]; then
if [[ -n "${PRODUCTION+x}" ]]; then
export ENVIRONMENT="production"
else
export ENVIRONMENT="staging"
export ENVIRONMENT=${ENVIRONMENT:-"staging"}
fi

.base_notify_fail_stage:
Expand Down

0 comments on commit 7165ca5

Please sign in to comment.