--- name: Release Notifications (Moonlight) on: release: 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 uses: sarisia/actions-status-discord@v1 with: avatar_url: ${{ vars.ORG_LOGO_URL }}256 color: 0x${{ vars.COLOR_HEX_GREEN }} description: ${{ github.event.release.body }} nodetail: true nofail: false title: ${{ github.event.repository.name }} ${{ github.ref_name }} Released username: ${{ secrets.DISCORD_USERNAME }} webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_MOONLIGHT }}