feat: add NTFY notification workflow for push events
All checks were successful
NTFY Notification / notify (push) Successful in 1m29s
All checks were successful
NTFY Notification / notify (push) Successful in 1m29s
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
18
.gitea/workflows/notify.yml
Normal file
18
.gitea/workflows/notify.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: NTFY Notification
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send to NTFY
|
||||
run: |
|
||||
curl -d "🚀 AutoBOM: New commit ${{ github.sha }}" \
|
||||
-d "📝 Message: ${{ github.event.head_commit.message }}" \
|
||||
-d "👤 Author: ${{ github.actor }}" \
|
||||
-d "🌿 Branch: ${{ github.ref_name }}" \
|
||||
-H "Title: Git Push Notification" \
|
||||
-H "Priority: default" \
|
||||
-H "Tags: gitea,autobom,push" \
|
||||
-H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \
|
||||
https://ntfy.server10086.icu/gitea
|
||||
Reference in New Issue
Block a user