From 3455af27dc66a4de8d206cb5dea4764e3c0e6aa5 Mon Sep 17 00:00:00 2001 From: etoai Date: Wed, 19 Mar 2025 19:34:34 +0800 Subject: [PATCH] =?UTF-8?q?2025-03-19=2019:34:34=20vscode=20task=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/tasks.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 90fe6ac..598ecae 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -31,12 +31,9 @@ { "label": "curl webhook", "type": "shell", - "command": "curl", + "command": "python", "args": [ - "-X", "POST", - // "-H", "Content-Type: application/html", - // "-d", "{\"event\": \"build_success\"}", // 自定义数据体 - "-k", "https://47.112.174.207:8989/hook?access_key=q1kbVssnJzhWrrW7T1CDefq58wKs9DL70gWHznYNFH8TBwI9" + "-c", "import requests; r=requests.post('https://47.112.174.207:8989/hook?access_key=q1kbVssnJzhWrrW7T1CDefq58wKs9DL70gWHznYNFH8TBwI9'); " ], "problemMatcher": ["$tsc"], "dependsOn": ["Git Commit & Push"]