fix: replace run_id by run_number
All checks were successful
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 8s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 4s
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Deploy-Production (push) Successful in 8s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s
All checks were successful
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 8s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 4s
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Deploy-Production (push) Successful in 8s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s
This commit is contained in:
@@ -212,14 +212,14 @@ jobs:
|
||||
if [ "${{ success() }}" == "true" ]; then
|
||||
curl -H "Priority: min" \
|
||||
-H "Tags: white_check_mark" \
|
||||
-H "Actions: view, View Run, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
||||
-H "Actions: view, View Run, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}" \
|
||||
-d "Blog workflow completed successfully!" \
|
||||
-u ${NTFY_TOKEN} \
|
||||
${NTFY_URL}/${NTFY_TOPIC}
|
||||
else
|
||||
curl -H "Priority: high" \
|
||||
-H "Tags: x" \
|
||||
-H "Actions: view, View Run, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
||||
-H "Actions: view, View Run, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}" \
|
||||
-d "Blog workflow failed somewhere in the pipeline." \
|
||||
-u ${NTFY_TOKEN} \
|
||||
${NTFY_URL}/${NTFY_TOPIC}
|
||||
|
Reference in New Issue
Block a user