From 397f6231e4fa6d3b68d45380909f06aa2a5fa659 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 7 Sep 2025 23:19:36 +0200 Subject: ci: fix discord format --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 080cef3..4867d77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,4 +102,4 @@ jobs: WEBHOOK: ${{ secrets.CONFIDENTIAL_WEBHOOK }} REPO: ${{ github.repository }} run: | - curl -X POST "$WEBHOOK" --data "$(jq -n --arg v "https://github.com/$REPO/releases/${GITHUB_REF#refs/tags/}" --arg a "$WEBHOOK" '{"content": ("Created release preview, ready for publishing: " + $v), "username": ("Release preview / " + $a), "avatar_url": ("https://github.com/" + $a + ".png")}')" -H 'content-type: application/json' + curl -X POST "$WEBHOOK" --data "$(jq -n --arg r "$REPO" --arg v "${GITHUB_REF#refs/tags/}" --arg a "$WEBHOOK" '{"content": ("Created release preview, ready for publishing." + $v+"\n\nSee the draft at https://github.com/"+$r+"/releases/"), "username": $a, "avatar_url": ("https://github.com/" + $a + ".png")}')" -H 'content-type: application/json' -- cgit