|
|
@ -72,6 +72,10 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Notify Discord
|
|
|
|
- name: Notify Discord
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
curl '${{ secrets.DISCORD_WEBHOOK }}' \
|
|
|
|
Invoke-WebRequest `
|
|
|
|
--data-raw '{"content":"[**DiscordChatExporter** ver. ${{ github.ref }} released](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)"}' \
|
|
|
|
-Uri "${{ secrets.DISCORD_WEBHOOK }}" `
|
|
|
|
-H 'content-type: application/json'
|
|
|
|
-Method "POST" `
|
|
|
|
|
|
|
|
-ContentType "application/json; charset=UTF-8" `
|
|
|
|
|
|
|
|
-Body "{`"content`":`"[**DiscordChatExporter** ver. ${{ github.ref }} released](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)`"}" `
|
|
|
|
|
|
|
|
-UseBasicParsing
|
|
|
|
|
|
|
|
shell: pwsh
|
|
|
|