Skip to content

Commit 367a44c

Browse files
committed
fix: šŸ› correct build step for Docusaurus site and update artifact upload action
1 parent 90ce5d7 commit 367a44c

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

ā€Ž.github/workflows/deploy-docs.ymlā€Ž

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,20 @@ jobs:
2626
node-version: 22
2727
cache: "pnpm"
2828
- run: pnpm install --frozen-lockfile
29-
- run: pnpm --filter docs build
30-
- uses: actions/upload-pages-artifact@v3
29+
# Build the Docusaurus site in apps/docs
30+
# The previous filter didn't match any workspace package, so no build ran.
31+
# Use the actual package name to ensure the build step executes.
32+
- run: pnpm --filter "@gracefullight/docusaurus-plugin-docs" build
33+
- uses: actions/upload-pages-artifact@v4
3134
with:
3235
path: apps/docs/build
3336

3437
deploy:
3538
needs: build
3639
runs-on: ubuntu-latest
37-
environment:
38-
name: github-pages
39-
url: ${{ steps.deploy.outputs.page_url }}
40+
# Use the reserved GitHub Pages environment without URL expression
41+
# to avoid job-level expression context limitations.
42+
# environment: github-pages
4043
steps:
4144
- id: deploy
4245
uses: actions/deploy-pages@v4

0 commit comments

Comments
Ā (0)