aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
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'