mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -06:00
chore: add Discord notification action for release announcements
- Beat EDACerton to the punch - Integrated a new action in the release workflow to send notifications to a Discord channel upon new releases. - The notification includes the release version, a link to the release, and the changelog, enhancing communication with users. This addition improves user engagement by providing timely updates on new releases directly in Discord.
This commit is contained in:
13
.github/workflows/release-production.yml
vendored
13
.github/workflows/release-production.yml
vendored
@@ -124,3 +124,16 @@ jobs:
|
||||
--no-guess-mime-type \
|
||||
--content-encoding none \
|
||||
--acl public-read
|
||||
|
||||
- name: Actions for Discord
|
||||
uses: Ilshidur/action-discord@0.4.0
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.PUBLIC_DISCORD_RELEASE_ENDPOINT }}
|
||||
with:
|
||||
args: |
|
||||
🚀 **Unraid API Release ${{ inputs.version }}**
|
||||
|
||||
View Release: https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }}
|
||||
|
||||
**Changelog:**
|
||||
${{ steps.release-info.outputs.body }}
|
||||
|
||||
Reference in New Issue
Block a user