Commit 14dbb3a2 authored by 邓超's avatar 邓超

fix: yml版本回退

parent fd59af89
Pipeline #53241 waiting for manual action with stages
......@@ -27,7 +27,7 @@ checkout:
install:
stage: install
script:
- yarn
- npm run init
#cache:
# key: ${CI_COMMIT_REF_SLUG}
# paths:
......@@ -61,6 +61,9 @@ push:
- 'git clean -fd'
- 'git remote set-url origin "https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/CivPublish/CivWebPublish2021.git"'
- 'git pull origin map'
#- 'git rm -rf "${TARGET_REPO_2021}/civmanage"'
#- 'git commit -m "chore: clear folder civmanage"'
#- 'git push origin map'
- 'robocopy "${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage" "${TARGET_REPO_2021}/civmanage" /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."'
......@@ -68,4 +71,4 @@ push:
allow_failure: false
only:
- master
when: manual
\ No newline at end of file
when: manual
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