Commit 075b8eb2 authored by 杨思琦's avatar 杨思琦

Update .gitlab-ci.yml

parent d0976f2a
Pipeline #94676 failed
variables:
TARGET_REPO_2021: "G:/CIV_CI/CivWebPublish2021_CivManage/CivWebPublish2021/"
TARGET_REPO_Solution: "G:/CIV_CI/PandaSolution/civmanage/"
TEMP_DIR: "G:/CIV_CI/tempV1/civmanage/"
TARGET_REPO_2021: "F:/CIV_CI/CivWebPublish2021_CivManage/CivWebPublish2021/"
TARGET_REPO_Solution: "F:/CIV_CI/PandaSolution/civmanage/"
TEMP_DIR: "F:/CIV_CI/tempV1/civmanage/"
GIT_STRATEGY: 'fetch'
GIT_CHECKOUT: 'false'
......@@ -17,7 +17,7 @@ stages:
checkout:
stage: checkout
tags:
- civ_manage_128
- civmanage
variables:
GIT_CHECKOUT: 'true'
script:
......@@ -29,7 +29,7 @@ checkout:
install:
stage: install
tags:
- civ_manage_128
- civmanage
script:
- npm -v
- npm run init
......@@ -40,11 +40,11 @@ install:
package:
stage: package
tags:
- civ_manage_128
- civmanage
script:
- echo "${CI_PROJECT_DIR}"
- git pull origin master
- npm run build --releasepath=G:\\CIV_CI\\tempV1
- npm run build --releasepath=F:\\CIV_CI\\tempV1
#- npm run build --releasepath=../CivWebPublish2021
allow_failure: false
......@@ -57,7 +57,7 @@ push_2021:
GIT_STRATEGY: none
stage: push
tags:
- civ_manage_128
- civmanage
script:
- 'cd "${TARGET_REPO_2021}"'
- 'git reset --hard head'
......@@ -79,7 +79,7 @@ push_solution:
GIT_STRATEGY: none
stage: push
tags:
- civ_manage_128
- civmanage
script:
- 'cd "${TARGET_REPO_Solution}"'
- 'git reset --hard head'
......
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