Update '.gitea/workflows/hello_world.yaml'
Some checks failed
Explore-GitHub-Actions

This commit is contained in:
lobo 2023-02-26 19:49:09 +00:00
parent 52f01a5c49
commit 683d0a08de

View File

@ -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 }}'