mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-26 20:31:13 +03:00
chore(CI): Use custom action for Discord release alerts (#1934)
This commit is contained in:
parent
88229c18ec
commit
88c26806ad
1 changed files with 6 additions and 4 deletions
10
.github/workflows/notify-release.yml
vendored
10
.github/workflows/notify-release.yml
vendored
|
@ -2,16 +2,18 @@ name: Notify Discord webhook of stable releases
|
|||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
- released
|
||||
|
||||
jobs:
|
||||
github-releases-to-discord:
|
||||
release-to-discord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Github Releases To Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.15.0
|
||||
- name: Send release to Discord Webhook
|
||||
uses: VueTorrent/release-to-discord@v1
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
|
|
Loading…
Add table
Reference in a new issue