parent
f5a5d9e8d6
commit
3c552c16b4
|
@ -21,7 +21,7 @@ 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()
|
||||
|
@ -29,5 +29,5 @@ jobs:
|
|||
curl -u '${{ secrets.NTFY_USER }}:${{ secrets.NTFY_PASSWORD }}' \
|
||||
-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' \
|
||||
-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