mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-28 00:36:00 +00:00
Trigger Discord webhook on deploy
This commit is contained in:
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'
|
||||||
Reference in New Issue
Block a user