Commit 9f20c555 authored by 邓晓峰's avatar 邓晓峰

feat: add .gitllab-ci.yml

parent 3e881398
Pipeline #21355 passed with stages
in 1 minute 27 seconds
...@@ -83,7 +83,7 @@ push_2019: ...@@ -83,7 +83,7 @@ push_2019:
- 'cd "${TARGET_REPO_2019}"' - 'cd "${TARGET_REPO_2019}"'
- 'git reset --hard head' - 'git reset --hard head'
- 'git clean -fd' - 'git clean -fd'
- 'git remote set-url origin "https://${GIT_ACCESS_USER_2021}:${GIT_ACCESS_PASSWORD_2021}@g.civnet.cn:8443/CivPublish/CivWebPublish.git"' - 'git remote set-url origin "https://${GIT_ACCESS_USER_2019}:${GIT_ACCESS_PASSWORD_2019}@g.civnet.cn:8443/CivPublish/CivWebPublish.git"'
- 'git pull origin map' - 'git pull origin map'
- 'robocopy "${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage" "${TARGET_REPO_2019}/civmanage" /S ; - 'robocopy "${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage" "${TARGET_REPO_2019}/civmanage" /S ;
IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}' IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}'
......
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