Skip to content

Commit

Permalink
fix(ci): Broken announcement channel conditional syntax (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 authored Sep 29, 2024
1 parent ea5e01b commit c2d0138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >
Expand Down

0 comments on commit c2d0138

Please sign in to comment.