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"] }