mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 03:06:53 -04:00
Trigger Discord webhook on deploy
This commit is contained in:
parent
48539084f7
commit
ebb36de354
1 changed files with 7 additions and 1 deletions
6
.github/workflows/CD.yml
vendored
6
.github/workflows/CD.yml
vendored
|
@ -69,3 +69,9 @@ jobs:
|
||||||
asset_path: DiscordChatExporter.Gui/bin/Publish/Archive.zip
|
asset_path: DiscordChatExporter.Gui/bin/Publish/Archive.zip
|
||||||
asset_name: DiscordChatExporter.zip
|
asset_name: DiscordChatExporter.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: Notify Discord
|
||||||
|
run: |
|
||||||
|
curl '${{ secrets.DISCORD_WEBHOOK }}' \
|
||||||
|
--data-raw '{"content":"[**DiscordChatExporter** ver. ${{ github.ref }} released](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)"}' \
|
||||||
|
-H 'content-type: application/json'
|
Loading…
Add table
Add a link
Reference in a new issue