From f695eeafb3ab7d1676f40b2db44d6906c2cfdb8c Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Wed, 26 Aug 2026 21:39:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20deploy-test=20=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E6=A3=80=E6=9F=A5=E5=8E=BB=E6=8E=89=E5=8D=95=E5=BC=95?= =?UTF-8?q?=E5=8F=B7=EF=BC=88SSH=20=E5=8D=95=E5=BC=95=E5=8F=B7=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=86=85=E5=BC=95=E5=8F=B7=E9=85=8D=E5=AF=B9=E6=96=AD?= =?UTF-8?q?=E8=A3=82=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index f8e227c..8a9f7b8 100644 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -170,7 +170,7 @@ jobs: echo "===== 验证码链路检查(本地平台 TestEnv 站点) =====" COK=0 for i in $(seq 1 6); do - CCODE=$(curl -s -m 8 -o /dev/null -w "%{http_code}" -X POST http://127.0.0.1/tac/api/challenge/generate -H 'X-Site-Key: 6a062b70-c0b3-428e-8f1b-cca402e67ddd' -H 'Content-Type: application/json' -d '{"captchaType":"ROTATE"}' || true) + CCODE=$(curl -s -m 8 -o /dev/null -w "%{http_code}" -X POST http://127.0.0.1/tac/api/challenge/generate -H "X-Site-Key: 6a062b70-c0b3-428e-8f1b-cca402e67ddd" -H "Content-Type: application/json" -d "{\"captchaType\":\"ROTATE\"}" || true) [ "$CCODE" = "200" ] && COK=1 && break sleep 3 done