Skip to content

Commit 22b13ce

Browse files
committed
Update Netlify settings
1 parent 62d6383 commit 22b13ce

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
@@ -8,16 +8,16 @@
88
HUGO_VERSION = "0.125.1"
99

1010
[context.production]
11-
command = "hugo --minify --gc"
11+
command = "npm run build"
1212

1313
[context.deploy-preview]
14-
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
14+
command = "npm run build -- -b $DEPLOY_PRIME_URL"
1515

1616
[context.branch-deploy]
17-
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
17+
command = "npm run build -- -b $DEPLOY_PRIME_URL"
1818

1919
[context.next]
20-
command = "hugo --minify --gc"
20+
command = "npm run build"
2121

2222
[context.next.environment]
2323
HUGO_ENV = "next"

0 commit comments

Comments
 (0)