Skip to content

Commit

Permalink
command2
Browse files Browse the repository at this point in the history
  • Loading branch information
UnagiDohn committed Oct 13, 2024
1 parent 6ea3ed6 commit 88d89af
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ jobs:
- name: command001
run: |
.\command001.ps1
- name: command002
run: |
.\command002.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'
# Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"namename`", `"content`": `"messagemessage`"}" https://discord.com/api/webhooks/1294410759958298665/NsinS1PTNjGS8J8GFl_m37V36xB-1GzZNSfnoaTEF_LnwnUIqWqoMcWA_Gv3L15iFcxL
# Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"name`", `"content`": `"message`"}" ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"name`", `"content`": `"message`"}" ${{ secrets.DISCORD_WEBHOOK_URL }}
.\command002.ps1 ${{ secrets.DISCORD_WEBHOOK_URL }}

0 comments on commit 88d89af

Please sign in to comment.