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:
@@ -98,10 +98,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "24"
|
node-version: "24"
|
||||||
|
|
||||||
|
- name: Generate site content
|
||||||
|
run: python3 docs/build-manual.py --site
|
||||||
|
|
||||||
- name: Build documentation site
|
- name: Build documentation site
|
||||||
|
working-directory: docs/site
|
||||||
run: |
|
run: |
|
||||||
python3 docs/build-manual.py --site
|
|
||||||
cd docs/site
|
|
||||||
npm ci
|
npm ci
|
||||||
npx astro build
|
npx astro build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user