Avoid posting in Discord about preview releases (for now)

Co-authored-by: Joseph Lyons <joseph@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-10-27 15:43:00 -07:00
parent 760cceb378
commit 863250904b

View file

@ -8,6 +8,7 @@ jobs:
steps: steps:
- name: Discord Webhook Action - name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.3.0 uses: tsickert/discord-webhook@v5.3.0
if: ${{ ! github.event.release.prerelease }}
with: with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: | content: |