Commit c8a9a8d2 authored by 罗剑's avatar 罗剑

Update .gitlab-ci.yml

parent e090873c
Pipeline #52995 waiting for manual action with stages
......@@ -41,7 +41,7 @@ package:
script:
- echo "${CI_PROJECT_DIR}"
- git pull origin dev-solution
- npm run build --releasepath=../civmanage
- npm run build --releasepath=../civmanage_pak
#cache:
# key: ${CI_COMMIT_REF_SLUG}
# paths:
......@@ -61,7 +61,7 @@ push:
- 'git clean -fd'
- 'git remote set-url origin "https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/PandaSolution/civmanage.git"'
- 'git pull origin master'
- 'robocopy "${CI_PROJECT_DIR}/../civmanage" "${TARGET_REPO_SOLU}/" /S ;
- 'robocopy "${CI_PROJECT_DIR}/../civmanage_pak" "${TARGET_REPO_SOLU}/" /S ;
IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}'
- 'git add . ; git reset HEAD Web.config CityInterface/Web.config CityWebFW/Web.config ; git commit -m "auto package civmanage."'
- 'git push origin master'
......
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