Skip to content

Commit

Permalink
add discord notification
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoot committed Nov 29, 2021
1 parent 0d5679b commit bd81532
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,17 @@ jobs:
commit: ${{ github.sha }}
tag: v${{ steps.version.outputs.informationalVersion }}
prerelease: ${{ steps.version.outputs.preReleaseLabel != '' }}

- name: Create Discord release notification
uses: rjstone/[email protected]
if: ${{ steps.version.outputs.commitsSinceVersionSource == '0' }}
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
severity: info
username: GiganticEmu
color: "#1a7d93"
avatarUrl: https://cdn.jsdelivr.net/gh/BigBoot/GiganticEmu@master/GiganticEmu.Agent/icon.png
description: "[Release v${{ steps.version.outputs.informationalVersion }}](https://github.com/BigBoot/GiganticEmu/releases/tag/v${{ steps.version.outputs.informationalVersion }})"
details: ${{ steps.changelog.outputs.description }}
footer: Release Notification

0 comments on commit bd81532

Please sign in to comment.