added ntfy trigger cancelled and failure
All checks were successful
Preview / build-deploy (push) Successful in 53s

This commit is contained in:
Stephan Hadan 2025-01-26 20:45:42 +01:00
parent 7aa1d462b3
commit a6fb84af92

View file

@ -31,7 +31,7 @@ jobs:
uses: https://github.com/niniyas/ntfy-action@master
if: success()
with:
title: 'Forgejo Actions"
title: 'Forgejo Actions'
url: '${{ secrets.NTFY_URL }}'
topic: '${{ secrets.NTFY_TOPIC }}'
priority: 4
@ -53,6 +53,8 @@ jobs:
tags: +1,partying_face,action,failed
details: Workflow has failed!
actions: 'default'
icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Forgejo_logo.svg/512px-Forgejo_logo.svg.png'
image: true
- name: ntfy-cancelled-notifications
uses: https://github.com/niniyas/ntfy-action@master
@ -66,5 +68,7 @@ jobs:
tags: +1,partying_face,action,cancelled
details: Workflow has been cancelled!
actions: '[{"action": "view", "label": "Open portal", "url": "https://techstack.preview.hadan.de/", "clear": true}]'
icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Forgejo_logo.svg/512px-Forgejo_logo.svg.png'
image: true
- run: echo "This job's status is ${{ job.status }}."