fix(ncs-promotion): update headers format in Discord webhook payload
This commit is contained in:
@@ -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:
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}) }}
|
||||
|
||||
Reference in New Issue
Block a user