Skip to content

Commit 4806e12

Browse files
author
刘健
committed
Update .gitlab-ci.yml file
1 parent 9097760 commit 4806e12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ sync_job:
3030
- git fetch origin
3131
- GITHUB_SHA=$(git rev-parse origin/main)
3232
# 获取 GitLab main 分支的最新提交
33+
- git remote remove gitlab
3334
- git remote add gitlab http://$DEPLOY_USER:$DEPLOY_TOKEN@$gitlab.eolink.com/apipark/APIPark
3435
# - git remote add gitlab $CI_REPOSITORY_URL
3536
- git fetch gitlab

0 commit comments

Comments
 (0)