Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:

- run: pnpm turbo run docgen --filter=@evolution-sdk/evolution

- run: pnpm turbo run build --filter=@evolution-sdk/docs
# Build the docs with Next.js static export (output: export in next.config.js)
- run: pnpm --filter=@evolution-sdk/docs run build

- id: cache-docs-output
uses: actions/cache@v4
Expand All @@ -77,6 +78,11 @@ jobs:
restore-keys: |
docs-output-

# Add debug step to check if the output directory exists
- name: Debug output directory
run: |
ls -la docs/

- uses: actions/upload-pages-artifact@v3
with:
path: docs/out
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"export": "next build && next export",
"export": "next build",
"copy-evolution-docs": "node scripts/copy-evolution-docs.mjs",
"prebuild": "pnpm run copy-evolution-docs"
},
Expand Down