ci(notification): improve notification

This commit is contained in:
dragonish 2026-01-12 22:14:48 +08:00
parent 4ff081e800
commit 6c09fe9a29
No known key found for this signature in database
GPG key ID: 6F42FA9E807A5177

View file

@ -69,7 +69,7 @@ jobs:
See: [${{ steps.git_tags.outputs.prev }}...${{ steps.git_tags.outputs.current }}](/compare/${{ steps.git_tags.outputs.prev }}...${{ steps.git_tags.outputs.current }})
- name: Send notification
if: ${{ !cancelled() }}
if: ${{ !cancelled() && secrets.GOTIFY_URL != '' && secrets.GOTIFY_TOKEN != '' }}
uses: dragonish/send-to-gotify@v1
with:
url: ${{ secrets.GOTIFY_URL }}