diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index be308674bc..1c1f6c0429 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Create Deploy version vars id: create_tags run: | - if [[ "${{ github.ref}}" -eq "release" ]]; then + if [[ "${{ github.event_name }}" -eq "release" ]]; then case "${RELEASE_TAG_NAME_INPUT:0:1}" in v) echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV