From 6d3317af50c3932fe0f2009f8a00022869c0b3f0 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 18 Feb 2024 12:27:16 -0500 Subject: [PATCH] Attempt to fix Discord webhook --- .github/workflows/cd.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 02843325..cbefab00 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -49,13 +49,10 @@ jobs: for x in ${{ needs.ingest.outputs.projects }}; do RV="${RV:+$RV,} {\"title\": \"$x\", \"url\": \"https://pkgx.dev/pkgs/$x\"}" done - echo "json=$RV" >> $GITHUB_OUTPUT + echo "json={\"embeds\": [$RV]}" >> $GITHUB_OUTPUT - uses: Ilshidur/action-discord@0.3.2 env: - DISCORD_EMBEDS: | - { - "embeds": [${{ steps.make-embeds.outputs.json }}] - } + DISCORD_EMBEDS: ${{ steps.make-embeds.outputs.json }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} with: args: new pkgs