From 88a4e05187738b0a25365f436985c4f3f241ff2b Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 12 Oct 2023 08:10:25 -0400 Subject: [PATCH] Fix CD for production for real this time I swear --- .github/workflows/autocommit.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/autocommit.yml b/.github/workflows/autocommit.yml index 740401c61..30a77a9a7 100644 --- a/.github/workflows/autocommit.yml +++ b/.github/workflows/autocommit.yml @@ -18,9 +18,8 @@ jobs: - name: Update publish version id: update run: | - set -x VERSION=${GITHUB_SHA::8} - if "$GITHUB_REF" == refs/heads/production; then + if [ "$GITHUB_REF" = refs/heads/production ]; then TYPE=production else TYPE=staging