mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
Update .gitlab-ci.yml file
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user