mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-22 02:45:08 -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
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'
|
Loading…
Add table
Add a link
Reference in a new issue