From 39256a0316f1c25d072a217d40f73378a1c6966c Mon Sep 17 00:00:00 2001 From: etoai Date: Wed, 19 Mar 2025 19:22:31 +0800 Subject: [PATCH] =?UTF-8?q?2025-03-19=2019:22:31=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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4d30552..304176b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -31,7 +31,13 @@ { "label": "curl webhook", "type": "shell", - "command": "curl -X POST -H \"text/html; charset=utf-8\" -k https://47.112.174.207:8989/hook?access_key=q1kbVssnJzhWrrW7T1CDefq58wKs9DL70gWHznYNFH8TBwI9", + "command": "curl", + "args": [ + "-X", "POST", + "-H", "Content-Type: application/html", + // "-d", "{\"event\": \"build_success\"}", // 自定义数据体 + "-k", "https://47.112.174.207:8989/hook?access_key=q1kbVssnJzhWrrW7T1CDefq58wKs9DL70gWHznYNFH8TBwI9" + ], "problemMatcher": ["$tsc"], "dependsOn": ["Git Commit & Push"] }