Commit 01e09b0b authored by 王华's avatar 王华

Update .gitlab-ci.yml

parent 589a6220
Pipeline #58213 waiting for manual action with stages
......@@ -87,14 +87,13 @@ push2021:
- 'git reset --hard head'
- '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 --allow-unrelated-histories'
#- 'git pull origin map --allow-unrelated-histories'
- 'git pull origin map'
- 'git rm -rf "${TARGET_REPO_2021}/civbase"'
#- 'git commit -m "chore: clear folder"'
#- 'git push origin map'
- 'robocopy "${CI_PROJECT_DIR}/../PublishTemp/civbase" "${TARGET_REPO_2021}/civbase" /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 --allow-empty -m "auto package civbase."'
- 'git push origin map -f'
- 'git push origin map'
only:
- 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