ci: send Discord notifications from release workflow

This commit is contained in:
Bohdan Triapitsyn
2026-02-28 05:00:34 +02:00
parent 81c4a45548
commit 263d4c5325
2 changed files with 9 additions and 22 deletions
-22
View File
@@ -1,22 +0,0 @@
name: Release Discord Notification
on:
release:
types:
- published
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Send release to Discord
uses: SethCohen/github-releases-to-discord@v1
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: "2105893"
username: "OpenChamber Releases"
footer_title: "OpenChamber Changelog"
reduce_headings: true
+9
View File
@@ -445,3 +445,12 @@ jobs:
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Send release to Discord
uses: SethCohen/github-releases-to-discord@v1
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: "2105893"
username: "OpenChamber Releases"
footer_title: "OpenChamber Changelog"
reduce_headings: true