Skip to content

Commit de1d767

Browse files
committed
refactor: a little more honest
1 parent ac5d6d4 commit de1d767

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ jobs:
3737
- id: set-env
3838
run: |
3939
# 1. Determine if it's a tag
40-
IS_TAG="true" # this is a lie
40+
if [[ "${{ github.ref_type }}" == "tag" ]]; then
41+
IS_TAG="true"
42+
else
43+
IS_TAG="false"
44+
fi
4145
echo "is_tag=$IS_TAG" >> $GITHUB_OUTPUT
4246
4347
# 2. Determine environment name

0 commit comments

Comments
 (0)