Skip to content

Commit f674e09

Browse files
committed
ci: added discord webhook for release
1 parent ca0e023 commit f674e09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- "v*.*.*"
7+
branches:
8+
- main
79
permissions:
810
contents: write
911
jobs:
@@ -51,3 +53,8 @@ jobs:
5153
overwrite: true
5254
release_name: "Release ${{ github.ref_name }}"
5355
body: "${{ needs.generate-changelog.outputs.release_body }}"
56+
- name: Send to Discord
57+
uses: discord-actions/message@v2
58+
with:
59+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
60+
message: "${{ needs.generate-changelog.outputs.release_body }}"

0 commit comments

Comments
 (0)