ci: fix notification workflow on release

This commit is contained in:
Zane Schepke
2025-04-08 22:02:10 -04:00
parent e77966d70a
commit d562f36652
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
name: on-publish
on:
repository_dispatch:
types: [ publish-release ]
release:
types: [ published ]
jobs:
on-publish:
+1 -1
View File
@@ -168,7 +168,7 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
body: |
${{ env.RELEASE_NOTES }}