Update Netlify settings

This commit is contained in:
Henk Verlinde 2024-04-19 21:28:36 +02:00 committed by Simon C
parent eb6bb7e3eb
commit 97bbc26576
1 changed files with 4 additions and 4 deletions

View File

@ -8,16 +8,16 @@
HUGO_VERSION = "0.125.1"
[context.production]
command = "hugo --minify --gc"
command = "npm run build"
[context.deploy-preview]
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.next]
command = "hugo --minify --gc"
command = "npm run build"
[context.next.environment]
HUGO_ENV = "next"