Files
AutoBOM/.gitea/workflows/notify.yml
Misaka_Company 25f6ae29ac
All checks were successful
NTFY Notification / notify (push) Successful in 1m29s
feat: add NTFY notification workflow for push events
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 10:57:22 +08:00

19 lines
620 B
YAML

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