mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-29 06:10:54 +00:00
Trigger Discord webhook on deploy
This commit is contained in:
8
.github/workflows/CD.yml
vendored
8
.github/workflows/CD.yml
vendored
@@ -68,4 +68,10 @@ jobs:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: DiscordChatExporter.Gui/bin/Publish/Archive.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