add ntfy to build
All checks were successful
renovate / renovate (push) Successful in 20s
test-build / build (push) Successful in 52s

This commit is contained in:
2025-11-10 22:49:12 -06:00
parent 2f3e3c88cb
commit ca029f9183
2 changed files with 19 additions and 4 deletions

View File

@@ -35,3 +35,18 @@ jobs:
- name: Build Project
run: pnpm build
- name: ntfy Failed
uses: niniyas/ntfy-action@master
if: failure()
with:
url: '${{ secrets.NTFY_URL }}'
topic: '${{ secrets.NTFY_TOPIC }}'
title: 'Gitea Action'
priority: 4
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
tags: action,failed
details: 'Site Documentation build workflow has failed!'
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-documentation/actions?workflow=test-build.yaml", "clear": true}]'
image: true