fix(ci): use working-directory instead of cd everywhere #113

Merged
rootiest merged 2 commits from fix-ci-deploy-step-group-label into main 2026-08-21 05:39:43 +00:00
+5 -3
View File
@@ -98,19 +98,21 @@ 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
- name: Deploy to Cloudflare Pages
working-directory: docs/site
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
run: |
cd docs/site
npx --yes wrangler pages deploy dist/ \
--project-name=fish-config-docs \
--branch=main \