Skip to content

Commit 8f25f00

Browse files
committed
update netlify deploy script
1 parent 37d8ac0 commit 8f25f00

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

netlify.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@
99
[[redirects]]
1010
from = "/guide/writing-guide.html"
1111
to = "/guide/contributing/writing-guide.html"
12+
13+
[build.environment]
14+
NODE_VERSION = "16"
15+
NPM_FLAGS = "--version" # prevent Netlify npm install
16+
17+
[build]
18+
publish = "src/.vitepress/dist"
19+
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run build"

0 commit comments

Comments
 (0)