From c728b38492db26a8a8ffbd6b10be4bb5b04e0515 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Tue, 25 Aug 2026 11:42:33 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=9B=9E=E5=BD=92=2080=EF=BC=88=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=20test.beads.520mxp.cn=20=E7=9B=B4=E8=BF=9E=EF=BC=8C?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5=E5=90=8C=E6=AD=A5=E6=94=B9?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index 2052ae0..229160c 100644 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -91,7 +91,7 @@ jobs: container_name: perler-lab-frontend restart: unless-stopped ports: - - "8080:80" + - "80:80" depends_on: - server networks: [perler-net] @@ -116,7 +116,7 @@ jobs: echo "===== 等待前端健康 (/healthz) =====" OK=0 for i in $(seq 1 24); do - if curl -sf http://127.0.0.1:8080/healthz >/dev/null 2>&1; then OK=1; break; fi + if curl -sf http://127.0.0.1/healthz >/dev/null 2>&1; then OK=1; break; fi sleep 5 done if [ "$OK" != "1" ]; then @@ -141,7 +141,7 @@ jobs: echo "===== 最终验证 =====" HOK=0 for i in $(seq 1 12); do - CODE=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:8080/ || true) + CODE=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1/ || true) [ "$CODE" = "200" ] && HOK=1 && break sleep 5 done @@ -155,4 +155,4 @@ jobs: - name: Deployment summary if: always() run: | - echo "测试环境访问: http://156.233.226.86:8080" + echo "测试环境访问: http://test.beads.520mxp.cn"