Files
AutoBOM/.gitea/workflows/notify.yml
Misaka_Company 880659273e
Some checks failed
NTFY Notification / notify (push) Failing after 3s
feat: use dynamic repository name in NTFY notification
- Replace hardcoded 'AutoBOM' with ${{ github.repository_name }}
- Add repository name to tags for better filtering

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 12:54:53 +08:00

21 lines
655 B
YAML

name: NTFY Notification
on: [push]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send to NTFY
run: |
curl -d "🚀 ${{ github.repository_name }}
New commit ${{ github.sha }}
📝 Message
${{ github.event.head_commit.message }}
👤 Author: ${{ github.actor }}
🌿 Branch: ${{ github.ref_name }}" \
-H "Title: Git Push Notification" \
-H "Priority: default" \
-H "Tags: gitea,push,${{ github.repository_name }}" \
-H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \
https://ntfy.server10086.icu/gitea