fix(ncs-promotion): update headers format in Discord webhook payload

This commit is contained in:
2026-05-01 20:43:38 +02:00
parent 39cd33ae09
commit 3f34b8b5c8
@@ -89,7 +89,7 @@ spec:
- name: "Content-Type" - name: "Content-Type"
value: "application/json" value: "application/json"
body: | body: |
{ ${{ quote({
"embeds": [ "embeds": [
{ {
"title": "✅ Promotion Succeeded", "title": "✅ Promotion Succeeded",
@@ -114,7 +114,7 @@ spec:
] ]
} }
] ]
} }) }}
- uses: http - uses: http
if: "${{ failure() }}" if: "${{ failure() }}"
as: notify-failure as: notify-failure
@@ -125,7 +125,7 @@ spec:
- name: "Content-Type" - name: "Content-Type"
value: "application/json" value: "application/json"
body: | body: |
{ ${{ quote({
"embeds": [ "embeds": [
{ {
"title": "❌ Promotion Failed", "title": "❌ Promotion Failed",
@@ -150,4 +150,4 @@ spec:
] ]
} }
] ]
} }) }}