From c2d0138714ed1f59ef174e6119abbabb13de9752 Mon Sep 17 00:00:00 2001 From: Levi Muniz Date: Sun, 29 Sep 2024 02:21:34 -0600 Subject: [PATCH] fix(ci): Broken announcement channel conditional syntax (#190) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 308ee49..1bdcf6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,8 +34,8 @@ jobs: - name: Notify uses: appleboy/discord-action@v1.0.0 with: - webhook_id: ${{ github.event.prerelease == 'false' && secrets.DISCORD_RELEASE_WEBHOOK_ID || secrets.DISCORD_WEBHOOK_ID }} - webhook_token: ${{ github.event.prerelease == 'false' && secrets.DISCORD_RELEASE_WEBHOOK_TOKEN || secrets.DISCORD_WEBHOOK_TOKEN }} + webhook_id: ${{ !github.event.prerelease && secrets.DISCORD_RELEASE_WEBHOOK_ID || secrets.DISCORD_WEBHOOK_ID }} + webhook_token: ${{ !github.event.prerelease && secrets.DISCORD_RELEASE_WEBHOOK_TOKEN || secrets.DISCORD_WEBHOOK_TOKEN }} color: "#00FF00" username: "${{ env.PROJECT_NAME }} Release Bot" message: >