From 95c4a5fcb29ffe94d87cdd310050f9f00dda85cc Mon Sep 17 00:00:00 2001 From: jjc-kuwabara Date: Sun, 13 Oct 2024 18:34:44 +0900 Subject: [PATCH] =?UTF-8?q?=E5=A4=89=E6=95=B0=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../discord-notify-selfhosted-windows-powershell.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/discord-notify-selfhosted-windows-powershell.yml b/.github/workflows/discord-notify-selfhosted-windows-powershell.yml index f31ad7e..b5b0de5 100644 --- a/.github/workflows/discord-notify-selfhosted-windows-powershell.yml +++ b/.github/workflows/discord-notify-selfhosted-windows-powershell.yml @@ -30,6 +30,7 @@ jobs: run: | .\command001.ps1 - name: Notify Discord + # cmd.exe /c 'curl -H "Content-Type: application/json" -X POST -d "{\"username\": \"ここに名前を入れる\", \"content\": \"メッセージを送る!\"}" https://discord.com/api/webhooks/1294410759958298665/NsinS1PTNjGS8J8GFl_m37V36xB-1GzZNSfnoaTEF_LnwnUIqWqoMcWA_Gv3L15iFcxL' run: | - cmd.exe /c 'curl -H "Content-Type: application/json" -X POST -d "{\"username\": \"ここに名前を入れる\", \"content\": \"メッセージを送る!\"}" https://discord.com/api/webhooks/1294410759958298665/NsinS1PTNjGS8J8GFl_m37V36xB-1GzZNSfnoaTEF_LnwnUIqWqoMcWA_Gv3L15iFcxL' - \ No newline at end of file + cmd.exe /c 'curl -H "Content-Type: application/json" -X POST -d "{\"username\": \"ここに名前を入れる\", \"content\": \"メッセージを送る!\"}"\ + ${{ secrets.DISCORD_WEBHOOK_URL }}'