feat: add NTFY notification workflow for push events
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:
Misaka_Company
2026-02-04 10:57:22 +08:00
parent 9db957dc37
commit 25f6ae29ac

View 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