mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-22 10:55:15 -04:00
Use powershell for Discord webhook
This commit is contained in:
parent
ebb36de354
commit
0a6fea1ce9
1 changed files with 7 additions and 3 deletions
10
.github/workflows/CD.yml
vendored
10
.github/workflows/CD.yml
vendored
|
@ -72,6 +72,10 @@ jobs:
|
|||
|
||||
- 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'
|
||||
Invoke-WebRequest `
|
||||
-Uri "${{ secrets.DISCORD_WEBHOOK }}" `
|
||||
-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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue