Skip to content

Commit df09b86

Browse files
committed
ci: Fix notification workflow round 4
1 parent bd5cfa1 commit df09b86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/notify-unreleased-commits.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
1919
- name: Discord notification
2020
run: |
21+
PAYLOAD=$(jq -n --arg content "${{ env.MESSAGE }}" '{"content": $content}')
2122
curl -X POST \
22-
-F "payload_json={\"content\": \"${{ env.MESSAGE }}\"}" \
23+
-F "payload_json=${PAYLOAD}" \
2324
2425
$DISCORD_WEBHOOK
2526
env:

0 commit comments

Comments
 (0)