Some checks failed
NTFY Notification / notify (push) Failing after 3s
- 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>
21 lines
655 B
YAML
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
|