Skip to content

Commit 9165bfa

Browse files
committed
Update tag.yml
1 parent dfe2d57 commit 9165bfa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/tag.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ jobs:
2929
echo "ENV_TAG=stage" >> $GITHUB_ENV
3030
elif [ "$TARGET_BRANCH" = "production" ]; then
3131
echo "ENV_TAG=prod" >> $GITHUB_ENV
32+
else
33+
echo "ENV_TAG=" >> $GITHUB_ENV
3234
fi
3335
- name: Force update tag
36+
if: ${{ env.ENV_TAG != '' }}
3437
run: |
3538
git config user.name "github-actions[bot]"
3639
git config user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)