Skip to content

Commit 154b1f5

Browse files
committed
fix: ensure release creation skips when '[skip deploy]' is in commit message
Signed-off-by: Eatham532 <78714349+Eatham532@users.noreply.github.com>
1 parent 82038b0 commit 154b1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
name: 📦 Create GitHub Release
165165
runs-on: ubuntu-latest
166166
needs: [deploy, notify-indexnow] # Run after deployment and notification
167-
if: success() # Only run if deployment was successful
167+
if: success() && !contains(github.event.head_commit.message, '[skip deploy]') # Only run if deployment was successful AND not skipping deploy
168168
permissions:
169169
contents: write
170170

0 commit comments

Comments
 (0)