fix(ci): use localhost:3000 for docs runner checkout
Some checks failed
Build and Test / build (pull_request) Failing after 1m38s

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).
This commit is contained in:
2026-02-09 08:46:42 -06:00
parent 10ae616f08
commit c25f1b62b8

View File

@@ -13,11 +13,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
run: | run: |
REPO_URL="http://localhost:3000/kindred/create.git"
if [ -d .git ]; then if [ -d .git ]; then
git fetch origin main git fetch "$REPO_URL" main
git checkout -f origin/main git checkout -f FETCH_HEAD
else else
git clone --depth 1 --branch main https://git.kindred-systems.com/kindred/create.git . git clone --depth 1 --branch main "$REPO_URL" .
fi fi
- name: Build mdBook - name: Build mdBook