👷 Update Netlify build config

This commit is contained in:
James Panther
2022-01-16 09:17:38 +11:00
parent 6a9b4b4adb
commit 86ab0ae31a
+6 -6
View File
@@ -1,5 +1,5 @@
[build]
command = "cd exampleSite && hugo --gc --minify -b $URL"
command = "cd exampleSite && hugo --gc --minify -D -b $URL"
publish = "exampleSite/public"
[build.environment]
@@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne"
[context.production.environment]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"
HUGO_ENV = "production"
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"
[context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"