Skip to content

Commit 85bd93c

Browse files
authored
Update netlify.toml (#409)
1 parent 34a1207 commit 85bd93c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

netlify.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[context.production.environment]
22
HUGO_VERSION = "0.119.0"
3+
NODE_VERSION = "18"
34

45
[context.deploy-preview.environment]
56
HUGO_VERSION = "0.119.0"
7+
NODE_VERSION = "18"
68

79
[context.branch-deploy.environment]
810
HUGO_VERSION = "0.119.0"
9-
10-
[context.deploy-preview]
11-
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify"
11+
NODE_VERSION = "18"
1212

1313
[build]
1414
publish = "public"
15-
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify"
15+
command = "cd themes/docsy && git submodule update -f --init && npm install && cd ../.. && hugo --gc --minify"
1616

1717
[[plugins]]
1818
package = "@algolia/netlify-plugin-crawler"

0 commit comments

Comments
 (0)