Skip to content

Commit

Permalink
Merge pull request #349 from gefyrahq/discord-message
Browse files Browse the repository at this point in the history
chore: add discord notification for release
  • Loading branch information
SteinRobert committed Feb 17, 2023
2 parents 4a975a8 + 4047f41 commit 830441d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release_notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
to: ${{secrets.RELEASE_MAIL_RECIPIENTS}}
cc: ${{secrets.RELEASE_MAIL_CC}}
from: Gefyra Github
body: "Gefyra Version ${{ github.ref }} is out. Here's the changelog: https://github.com/gefyrahq/gefyra/releases"
body: "Gefyra Version ${{ github.event.release.tag_name }} is out. 🚀 Here's the changelog: https://github.com/gefyrahq/gefyra/releases/tag/${{ github.event.release.tag_name }}"
reply_to: ${{secrets.REPLY_TO}}
ignore_cert: true
convert_markdown: true

post_discord_announcement:
runs-on: ubuntu-latest
steps:
- uses: Ilshidur/action-discord@0.3.2
name: Send Discord Release Announcement
# add random emoji to the message
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: "Gefyra Version ${{ github.event.release.tag_name }} is out! 🚀 Here's the changelog: https://github.com/gefyrahq/gefyra/releases/tag/${{ github.event.release.tag_name }}"

0 comments on commit 830441d

Please sign in to comment.