Skip to content

Commit 9bc7da8

Browse files
committed
fix(deploy): add netlify.toml to use pnpm for docs build
Dashboard cmd still ran "yarn workspace docs build" — broken since the pnpm migration removed yarn.lock (deploys failing since Apr 3). Override via netlify.toml: pnpm --filter docs build, Node 22. Also ignore local .netlify/ state dir created by netlify CLI.
1 parent 7e4dc7a commit 9bc7da8

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ docs/.envrc
8484

8585
# Claude Code
8686
.claude/
87+
88+
# Local Netlify folder
89+
.netlify

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "pnpm --filter docs build"
3+
publish = "docs/build"
4+
5+
[build.environment]
6+
NODE_VERSION = "22"

0 commit comments

Comments
 (0)