Merge pull request 'fix(ci): use working-directory instead of cd everywhere' (#113) from fix-ci-deploy-step-group-label into main
Reviewed-on: #113
This commit was merged in pull request #113.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user