fix: bound Gitea checkout latency
Deploy staging to test server / deploy (push) Failing after 7m40s

This commit is contained in:
linmeng
2026-07-28 17:25:44 +08:00
parent d81713527b
commit 56f0ee089b
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ jobs:
git init .
git remote remove origin 2>/dev/null || true
git remote add origin https://git.copse.top/root/Jyotisha.git
git fetch --no-tags origin "$GITEA_SHA"
git -c http.connectTimeout=15 -c http.lowSpeedLimit=1024 -c http.lowSpeedTime=30 \
fetch --depth=1 --no-tags origin "$GITEA_SHA"
git checkout --detach --force "$GITEA_SHA"
- name: Build and push images