Skip to content

Commit 9097760

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ sync_job:
3030
- git fetch origin
3131
- GITHUB_SHA=$(git rev-parse origin/main)
3232
# 获取 GitLab main 分支的最新提交
33-
- git remote add gitlab $CI_REPOSITORY_URL
33+
- git remote add gitlab http://$DEPLOY_USER:$DEPLOY_TOKEN@$gitlab.eolink.com/apipark/APIPark
34+
# - git remote add gitlab $CI_REPOSITORY_URL
3435
- git fetch gitlab
3536
- GITLAB_SHA=$(git rev-parse gitlab/main || echo "none")
3637
# 比较 SHA,检查是否有更改

0 commit comments

Comments
 (0)