Skip to content

Commit

Permalink
chore: add discord release notification
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Sep 22, 2024
1 parent 6fb9418 commit 550eb94
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/notify-discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Release Please and Notify Discord"

on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
notify-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Github Releases To Discord
uses: SethCohen/[email protected]
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
color: "5378091"
username: "Riven Release Changelog"
avatar_url: "https://raw.githubusercontent.com/rivenmedia/riven/main/assets/riven-light.png"
# content: "||@here||"
footer_title: "Changelog"
footer_icon_url: "https://raw.githubusercontent.com/rivenmedia/riven/main/assets/riven-light.png"
footer_timestamp: true

0 comments on commit 550eb94

Please sign in to comment.