added ntfy trigger cancelled and failure
All checks were successful
Preview / build-deploy (push) Successful in 53s
All checks were successful
Preview / build-deploy (push) Successful in 53s
This commit is contained in:
parent
7aa1d462b3
commit
a6fb84af92
1 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,7 @@ jobs:
|
||||||
uses: https://github.com/niniyas/ntfy-action@master
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
title: 'Forgejo Actions"
|
title: 'Forgejo Actions'
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
priority: 4
|
priority: 4
|
||||||
|
@ -53,6 +53,8 @@ jobs:
|
||||||
tags: +1,partying_face,action,failed
|
tags: +1,partying_face,action,failed
|
||||||
details: Workflow has failed!
|
details: Workflow has failed!
|
||||||
actions: 'default'
|
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
|
- name: ntfy-cancelled-notifications
|
||||||
uses: https://github.com/niniyas/ntfy-action@master
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
@ -66,5 +68,7 @@ jobs:
|
||||||
tags: +1,partying_face,action,cancelled
|
tags: +1,partying_face,action,cancelled
|
||||||
details: Workflow has been cancelled!
|
details: Workflow has been cancelled!
|
||||||
actions: '[{"action": "view", "label": "Open portal", "url": "https://techstack.preview.hadan.de/", "clear": true}]'
|
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 }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
Loading…
Add table
Reference in a new issue