From ebc96e3ba3cab4adb7548126a4a8e573ff59aa7e Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 2 Apr 2025 03:07:24 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab7ec3a..193c6b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,19 +15,10 @@ job_deploy: tags: - staryEvo before_script: - - echo '开始发布' - echo '开始发布' - docker info # 添加 Docker 环境验证 - node -v # 验证 Node.js 版本 script: - # 添加镜像拉取重试逻辑 - - retry_count=0 - - until [ "$retry_count" -ge 3 ]; do - docker pull node:latest && break; - retry_count=$((retry_count+1)); - echo "镜像拉取失败,重试 $retry_count/3"; - sleep 5; - done - cd Assets/00.StaryEvo # 获取当前版本