Update Netlify settings
This commit is contained in:
parent
ed37f7e62d
commit
11d0d14a71
|
@ -9,16 +9,16 @@ HUGO_VERSION = "0.124.0"
|
||||||
NPM_VERSION = "10.2.4"
|
NPM_VERSION = "10.2.4"
|
||||||
|
|
||||||
[context.production]
|
[context.production]
|
||||||
command = "npm run build"
|
command = "hugo --minify --gc"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.next]
|
[context.next]
|
||||||
command = "npm run build"
|
command = "hugo --minify --gc"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_ENV = "next"
|
HUGO_ENV = "next"
|
||||||
|
|
Loading…
Reference in New Issue