diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 37ae5cfa7f..376bd2be8c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,6 @@ on: required: true release: types: - - released - published @@ -25,7 +24,7 @@ jobs: - name: Create Deploy version vars id: create_tags run: | - if [[ "${{ github.event_name }}" -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