Commit 483583e3 authored by 邓晓峰's avatar 邓晓峰

Update .gitlab-ci.yml

parent abdebee3
Pipeline #27369 passed with stages
in 5 minutes 30 seconds
...@@ -16,7 +16,7 @@ before_script: ...@@ -16,7 +16,7 @@ before_script:
init: init:
stage: init stage: init
script: script:
- cd /d %DEPLOY_PATH%/src/wisdom-extend-components - cd /d %DEPLOY_PATH%/src/wisdom-components
- dir - dir
- git pull - git pull
- echo 开始安装依赖... - echo 开始安装依赖...
...@@ -25,13 +25,13 @@ init: ...@@ -25,13 +25,13 @@ init:
bootstrap: bootstrap:
stage: bootstrap stage: bootstrap
script: script:
- cd /d %DEPLOY_PATH%/src/wisdom-extend-components - cd /d %DEPLOY_PATH%/src/wisdom-components
- dir - dir
build: build:
stage: build stage: build
script: script:
- cd /d %DEPLOY_PATH%/src/wisdom-extend-components - cd /d %DEPLOY_PATH%/src/wisdom-components
- echo 开始打包... - echo 开始打包...
- npm run site - npm run site
- echo 打包完成 - echo 打包完成
...@@ -39,7 +39,7 @@ build: ...@@ -39,7 +39,7 @@ build:
release: release:
stage: release stage: release
script: script:
- cd /d %DEPLOY_PATH%/src/wisdom-extend-components - cd /d %DEPLOY_PATH%/src/wisdom-components
- echo 开始拷贝发布包... - echo 开始拷贝发布包...
- robocopy dist %DEPLOY_PATH%/dist /e || cmd /c "exit /b 0" - robocopy dist %DEPLOY_PATH%/dist /e || cmd /c "exit /b 0"
- echo 发布完成. - echo 发布完成.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment