chore: Updates release flow (#1798)
This commit is contained in:
parent
a4522b9d43
commit
5843ec0784
2 changed files with 26 additions and 8 deletions
20
.github/workflows/post-release-discord.yml
vendored
Normal file
20
.github/workflows/post-release-discord.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
post-release-discord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.6
|
||||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
- name: Post Release on Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.13.1
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
username: "Release Changelog"
|
||||
avatar_url: "https://cdn.discordapp.com/icons/751317910504603701/ec26ab4881753077e06122da7b78bf7c.webp"
|
||||
max_description: 2000
|
||||
Loading…
Add table
Add a link
Reference in a new issue