fix: Fixes relesae flows (#1799)

This commit is contained in:
Kamron Batman 2024-05-28 15:24:03 -07:00 • committed by GitHub
parent 5843ec0784
commit b3a817ee2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,5 @@
name: Post Release to Discord
on:
release:
types:
@ -7,12 +9,12 @@ jobs:
post-release-discord:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4
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
uses: SethCohen/github-releases-to-discord@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
username: "Release Changelog"