ci: use prerelease logic (#2553)

This commit is contained in:
ReenigneArcher
2024-05-23 21:42:06 -04:00
committed by GitHub
parent 26ceec5f3c
commit e898be1b7e
26 changed files with 450 additions and 1194 deletions

View File

@@ -3,10 +3,15 @@ name: Release Notifications (Moonlight)
on:
release:
types: [published]
types:
- released # this triggers when a release is published, but does not include prereleases or drafts
jobs:
discord:
if: >-
startsWith(github.repository, 'LizardByte/') &&
!github.event.release.prerelease &&
!github.event.release.draft
runs-on: ubuntu-latest
steps:
- name: discord