Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c65eb4d

Browse files
committed
Track tag files, before checking for the diff
1 parent ef896fa commit c65eb4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ git config user.name "GHA CI"
3434
git config user.email "gha@ci.invalid"
3535

3636
if [[ -n $TAG_NAME ]]; then
37+
# track files, so that the following check works
38+
git add --intent-to-add "$TAG_NAME"
3739
if git diff --exit-code --quiet -- $TAG_NAME/; then
3840
echo "No changes to the output on this push; exiting."
3941
exit 0

0 commit comments

Comments
 (0)