From b358bf05b5d7462c1f9141530832ab3c22f7a200 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sun, 14 Jun 2026 14:54:59 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=20deploy=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E4=B8=AD=E5=A4=9A=E4=BD=99=E7=9A=84=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=AE=89=E8=A3=85=E5=92=8C=E5=81=A5=E5=BA=B7=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index be03ffc..29881e6 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,12 +12,6 @@ jobs: if: github.event_name == 'pull_request' runs-on: aliyun steps: - - name: Setup Dependencies - run: | - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories - apk add --no-cache nodejs docker docker-cli-compose - dockerd & - - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" @@ -36,12 +30,6 @@ jobs: if: github.event_name == 'push' runs-on: aliyun steps: - - name: Setup Dependencies - run: | - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories - apk add --no-cache nodejs docker docker-cli-compose - dockerd & - - name: Checkout uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4" @@ -50,16 +38,3 @@ jobs: chmod +x deploy.sh ./deploy.sh build ./deploy.sh restart - - - name: Health Check - run: | - for i in $(seq 1 10); do - if curl -sf http://localhost/api/health > /dev/null 2>&1; then - echo "服务启动成功" - exit 0 - fi - echo "等待服务启动... ($i/10)" - sleep 3 - done - echo "服务启动超时" - exit 1