From f3a8fd1a7d229f2c98ed2f1e24ccbc3774080ccd Mon Sep 17 00:00:00 2001 From: Matthew Geng <35342787+matthewgeng@users.noreply.github.com> Date: Sun, 19 Dec 2021 21:55:54 -0500 Subject: [PATCH] fix ci environment bash if else (#206) --- .github/workflows/ci-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-push.yml b/.github/workflows/ci-push.yml index a18ad165..1dc1dee4 100644 --- a/.github/workflows/ci-push.yml +++ b/.github/workflows/ci-push.yml @@ -28,7 +28,7 @@ jobs: elif [[ $GITHUB_REF_NAME = "main" ]]; then echo "::set-output name=env::production" echo Environment set to 'production' - else: + else echo '$GITHUB_REF_NAME' does not equal 'staging' or 'main' exit 1 fi