Attempt to fix Discord webhook

This commit is contained in:
Max Howell 2024-02-18 12:27:16 -05:00
parent 7f6d7a9521
commit 6d3317af50
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -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