This commit is contained in:
parent
52f01a5c49
commit
683d0a08de
|
@ -21,14 +21,13 @@ jobs:
|
|||
run: |
|
||||
curl -u '${{ secrets.NTFY_USER }}:${{ secrets.NTFY_PASSWORD }}' \
|
||||
-H 'Title: Job Succeeded. ${{ github.repository }}/${{ github.ref }}' \
|
||||
-d 'Job succeeded. See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }} for details'
|
||||
-d 'Job succeeded. See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }} for details' \
|
||||
'${{ secrets.NTFY_HOST }}${{ secrets.NTFY_TOPIC }}''
|
||||
- name: Failure Notification
|
||||
if: failure()
|
||||
run: |
|
||||
curl -u '${{ secrets.NTFY_USER }}:${{ secrets.NTFY_PASSWORD }}' \
|
||||
-H "Priority: high"
|
||||
-H "Priority: high" \
|
||||
-H 'Title: Job FAILED. ${{ github.repository }}/${{ github.ref }}' \
|
||||
-d 'Job failed. See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }} for details'
|
||||
'${{ secrets.NTFY_HOST }}${{ secrets.NTFY_TOPIC }}''
|
||||
|
||||
-d 'Job failed. See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }} for details' \
|
||||
'${{ secrets.NTFY_HOST }}${{ secrets.NTFY_TOPIC }}'
|
Loading…
Reference in New Issue
Block a user