Update Netlify settings
This commit is contained in:
parent
eb6bb7e3eb
commit
97bbc26576
|
@ -8,16 +8,16 @@
|
||||||
HUGO_VERSION = "0.125.1"
|
HUGO_VERSION = "0.125.1"
|
||||||
|
|
||||||
[context.production]
|
[context.production]
|
||||||
command = "hugo --minify --gc"
|
command = "npm run build"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
|
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "hugo --minify --gc -b $DEPLOY_PRIME_URL"
|
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.next]
|
[context.next]
|
||||||
command = "hugo --minify --gc"
|
command = "npm run build"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_ENV = "next"
|
HUGO_ENV = "next"
|
||||||
|
|
Loading…
Reference in New Issue