mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Attempt to fix Discord webhook
This commit is contained in:
parent
7f6d7a9521
commit
6d3317af50
1 changed files with 2 additions and 5 deletions
7
.github/workflows/cd.yml
vendored
7
.github/workflows/cd.yml
vendored
|
@ -49,13 +49,10 @@ jobs:
|
||||||
for x in ${{ needs.ingest.outputs.projects }}; do
|
for x in ${{ needs.ingest.outputs.projects }}; do
|
||||||
RV="${RV:+$RV,} {\"title\": \"$x\", \"url\": \"https://pkgx.dev/pkgs/$x\"}"
|
RV="${RV:+$RV,} {\"title\": \"$x\", \"url\": \"https://pkgx.dev/pkgs/$x\"}"
|
||||||
done
|
done
|
||||||
echo "json=$RV" >> $GITHUB_OUTPUT
|
echo "json={\"embeds\": [$RV]}" >> $GITHUB_OUTPUT
|
||||||
- uses: Ilshidur/action-discord@0.3.2
|
- uses: Ilshidur/action-discord@0.3.2
|
||||||
env:
|
env:
|
||||||
DISCORD_EMBEDS: |
|
DISCORD_EMBEDS: ${{ steps.make-embeds.outputs.json }}
|
||||||
{
|
|
||||||
"embeds": [${{ steps.make-embeds.outputs.json }}]
|
|
||||||
}
|
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
with:
|
with:
|
||||||
args: new pkgs
|
args: new pkgs
|
||||||
|
|
Loading…
Reference in a new issue