env var?
All checks were successful
Explore-GitHub-Actions

This commit is contained in:
lobo 2023-02-26 19:59:36 +00:00
parent f5a5d9e8d6
commit 3c552c16b4

View File

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