ci: 修正镜像到 Gitee 时的仓库描述
mirror-to-gitee / mirror (push) Failing after 3s

This commit is contained in:
技小云
2026-11-04 11:11:29 +08:00
committed by MiFaZhan
parent 510a7e9c2f
commit 896120d50c
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
curl -sS -X POST \
"https://gitee.com/api/v5/enterprises/${DST_OWNER}/repos?access_token=${DST_TOKEN}" \
-H 'Content-Type: application/json' \
-d "{\"name\":\"${REPO_NAME}\",\"auto_init\":false,\"description\":\"iotLCM 物联网卡全生命周期管理平台\"}" \
-d "{\"name\":\"${REPO_NAME}\",\"auto_init\":false,\"description\":\"雪羊科技开源项目门户:iotLCM / 秀杰 DTU / XiuAdmin 等开源项目索引\"}" \
-o /tmp/repo-create.json -w '建仓 HTTP %{http_code}\n' || true
head -c 300 /tmp/repo-create.json 2>/dev/null; echo
else