We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5e01b commit c2d0138Copy full SHA for c2d0138
.github/workflows/release.yml
@@ -34,8 +34,8 @@ jobs:
34
- name: Notify
35
uses: appleboy/[email protected]
36
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 }}
+ 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 }}
39
color: "#00FF00"
40
username: "${{ env.PROJECT_NAME }} Release Bot"
41
message: >
0 commit comments