From 3f34b8b5c86d99aa7c468ac20e7a1c3b239a8bbe Mon Sep 17 00:00:00 2001 From: Janis Date: Fri, 1 May 2026 20:43:38 +0200 Subject: [PATCH] fix(ncs-promotion): update headers format in Discord webhook payload --- kargo-projects/nowchess/ncs-promotion-template.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kargo-projects/nowchess/ncs-promotion-template.yaml b/kargo-projects/nowchess/ncs-promotion-template.yaml index f4a2f0c..a49778c 100644 --- a/kargo-projects/nowchess/ncs-promotion-template.yaml +++ b/kargo-projects/nowchess/ncs-promotion-template.yaml @@ -89,7 +89,7 @@ spec: - name: "Content-Type" value: "application/json" body: | - { + ${{ quote({ "embeds": [ { "title": "✅ Promotion Succeeded", @@ -114,7 +114,7 @@ spec: ] } ] - } + }) }} - uses: http if: "${{ failure() }}" as: notify-failure @@ -125,7 +125,7 @@ spec: - name: "Content-Type" value: "application/json" body: | - { + ${{ quote({ "embeds": [ { "title": "❌ Promotion Failed", @@ -150,4 +150,4 @@ spec: ] } ] - } + }) }}