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