更新.gitlab-ci.yml文件

This commit is contained in:
Administrator
2025-03-28 08:33:23 +00:00
parent e858867e29
commit f491dc5f36

View File

@@ -1,15 +1,28 @@
default:
image: docker.xiaogenban1993.com/node:18.21.1
# 强制每次都重新拉取镜像
image: docker.xiaogenban1993.com/node:13.11.0
before_script:
- echo '====== 准备构建中 ========='
stages:
- install
- deploy
# 安装依赖
job_install:
only:
- master
stage: install
before_script:
- echo '安装依赖'
script:
- cd Assets/02.InformationSave
- echo " registry=http://192.168.31.100:8418/api/packages/unity-registry/npm" > .npmrc
- echo "//192.168.31.100:8418/api/packages/unity-registry/:_authToken=7a502f73368672741accbd12fdf268909b1dca0f" >> .npmrc
retry: 0
# 发布
@@ -30,3 +43,4 @@ job_deploy:
after_script:
- echo "====== 发布完成 ========="