From c25f1b62b882472da48a728d2c69234b75c58536 Mon Sep 17 00:00:00 2001 From: forbes-0023 Date: Mon, 9 Feb 2026 08:46:42 -0600 Subject: [PATCH] fix(ci): use localhost:3000 for docs runner checkout The docs runner is on the same host as Gitea, so clone via http://localhost:3000 instead of the public HTTPS URL which fails to connect (port 443 unreachable from the runner). --- .gitea/workflows/docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/docs.yml b/.gitea/workflows/docs.yml index f1a0ee7425..b955437bac 100644 --- a/.gitea/workflows/docs.yml +++ b/.gitea/workflows/docs.yml @@ -13,11 +13,12 @@ jobs: steps: - name: Checkout run: | + REPO_URL="http://localhost:3000/kindred/create.git" if [ -d .git ]; then - git fetch origin main - git checkout -f origin/main + git fetch "$REPO_URL" main + git checkout -f FETCH_HEAD else - git clone --depth 1 --branch main https://git.kindred-systems.com/kindred/create.git . + git clone --depth 1 --branch main "$REPO_URL" . fi - name: Build mdBook