fix(ci): drop remaining cd for working-directory consistency

The only other cd left in the workflow mixed two working directories
in one step: docs/build-manual.py --site runs from the repo root, then
npm ci/astro build need docs/site. Split into two steps so each can
use working-directory instead, keeping the whole file cd-free and
consistent with the Cloudflare deploy step's fix.
This commit is contained in:
2026-08-21 01:23:34 -04:00
parent 3c27e52ada
commit 4d7ad64c3a
+4 -2
View File
@@ -98,10 +98,12 @@ jobs:
with:
node-version: "24"
- name: Generate site content
run: python3 docs/build-manual.py --site
- name: Build documentation site
working-directory: docs/site
run: |
python3 docs/build-manual.py --site
cd docs/site
npm ci
npx astro build