更新.gitlab-ci.yml文件
This commit is contained in:
@@ -7,25 +7,9 @@ before_script:
|
|||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- install
|
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
|
||||||
# 安装依赖
|
|
||||||
job_install:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
stage: install
|
|
||||||
before_script:
|
|
||||||
- echo '安装依赖'
|
|
||||||
- apt-get update -y || true
|
|
||||||
- apt-get install -y --no-install-recommends npm # Add sudo
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
# 发布
|
# 发布
|
||||||
|
|||||||
Reference in New Issue
Block a user