update netlify.toml

main
Dominic Reich 2 years ago
parent 3163dd6f06
commit a304be8772
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,20 +1,20 @@
[build] [build]
publish = "public" publish = "public"
command = "hugo --gc --minify --cleanDestinationDir" command = "hugo --gc --minify"
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.108.0" HUGO_VERSION = "0.108.0"
HUGO_ENV = "production" HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" #HUGO_ENABLEGITINFO = "true"
[context.deploy-preview] [context.deploy-preview]
command = "hugo --gc --minify --cleanDestinationDir --buildFuture -b $DEPLOY_PRIME_URL" command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.108.0" HUGO_VERSION = "0.108.0"
[context.branch-deploy] [context.branch-deploy]
command = "hugo --gc --minify --cleanDestinationDir -b $DEPLOY_PRIME_URL" command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.108.0" HUGO_VERSION = "0.108.0"

Loading…
Cancel
Save