Skip to content

Commit

Permalink
Merge pull request #15 from shahmal1yev/discord-announcements
Browse files Browse the repository at this point in the history
Announce the release to community
  • Loading branch information
shahmal1yev authored Nov 10, 2024
2 parents 6a91bb6 + 1d4fead commit 9c8d164
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Discord Release Notification

on:
release:
types: [published]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Announce the release to community
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
uses: Ilshidur/action-discord@0.3.2
with:
args: |
🚀 **New Release**: `${{ github.event.release.tag_name }}`
${{ github.event.release.prerelease && '`pre-release`' || '`stable`' }}
${{ github.event.release.body }}
🔗 [View Full Changelog](${{ github.event.release.html_url }})
👤 Released by @${{ github.event.release.author.login }}

0 comments on commit 9c8d164

Please sign in to comment.