Commit 20ea82a8 authored by 叶飞's avatar 叶飞

feat: gitlab ci

parent 4ba92227
Pipeline #18350 canceled with stages
in 1 minute 0 seconds
......@@ -15,7 +15,7 @@ before_script:
init:
stage: init
script:
- cd /d "${DEPLOY_PATH}/src/wisdom-components"
- cd /d %DEPLOY_PATH%/src/wisdom-components
- dir
- git pull
- echo 开始安装依赖...
......@@ -27,7 +27,7 @@ init:
build:
stage: build
script:
- cd /d "${DEPLOY_PATH}/src/wisdom-components"
- cd /d %DEPLOY_PATH%/src/wisdom-components
- echo 开始打包...
- npm run deploy
- echo 打包完成
......@@ -39,7 +39,7 @@ build:
release:
stage: release
script:
- cd /d "${DEPLOY_PATH}/src/wisdom-components"
- cd /d %DEPLOY_PATH%/src/wisdom-components
- echo 开始拷贝发布包...
- robocopy dist "${DEPLOY_PATH}/dist"
- 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