From c1483e0cca52cd17b3d804b73180da75b190d791 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Tue, 10 Jun 2025 21:43:25 +0000 Subject: [PATCH] fix: replace run_id by run_number --- .gitea/workflows/deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index cd95d90..9b06e5f 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -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}