Update .gitlab-ci.yml file

This commit is contained in:
刘健
2025-05-23 14:12:49 +08:00
parent 4806e12907
commit 98710ad296
+1 -1
View File
@@ -31,7 +31,7 @@ sync_job:
- GITHUB_SHA=$(git rev-parse origin/main)
# 获取 GitLab main 分支的最新提交
- git remote remove gitlab
- git remote add gitlab http://$DEPLOY_USER:$DEPLOY_TOKEN@$gitlab.eolink.com/apipark/APIPark
- git remote add gitlab http://$DEPLOY_USER:$DEPLOY_TOKEN@gitlab.eolink.com/apipark/APIPark
# - git remote add gitlab $CI_REPOSITORY_URL
- git fetch gitlab
- GITLAB_SHA=$(git rev-parse gitlab/main || echo "none")