Skip to content

Commit c2d0138

Browse files
authored
fix(ci): Broken announcement channel conditional syntax (#190)
1 parent ea5e01b commit c2d0138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- name: Notify
3535
uses: appleboy/[email protected]
3636
with:
37-
webhook_id: ${{ github.event.prerelease == 'false' && secrets.DISCORD_RELEASE_WEBHOOK_ID || secrets.DISCORD_WEBHOOK_ID }}
38-
webhook_token: ${{ github.event.prerelease == 'false' && secrets.DISCORD_RELEASE_WEBHOOK_TOKEN || secrets.DISCORD_WEBHOOK_TOKEN }}
37+
webhook_id: ${{ !github.event.prerelease && secrets.DISCORD_RELEASE_WEBHOOK_ID || secrets.DISCORD_WEBHOOK_ID }}
38+
webhook_token: ${{ !github.event.prerelease && secrets.DISCORD_RELEASE_WEBHOOK_TOKEN || secrets.DISCORD_WEBHOOK_TOKEN }}
3939
color: "#00FF00"
4040
username: "${{ env.PROJECT_NAME }} Release Bot"
4141
message: >

0 commit comments

Comments
 (0)