fix(ci): replace actions/checkout with git clone in docs workflow #108

Merged
forbes merged 2 commits from fix/docs-workflow-no-node into main 2026-02-09 14:23:41 +00:00

View File

@@ -4,14 +4,20 @@ on:
push:
branches: [main]
paths:
- 'docs/**'
- "docs/**"
jobs:
build-and-deploy:
runs-on: docs
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
if [ -d .git ]; then
git fetch origin main
git checkout -f origin/main
else
git clone --depth 1 --branch main https://git.kindred-systems.com/kindred/create.git .
fi
- name: Build mdBook
run: mdbook build docs/