👷 Update Netlify build config

pull/82/head
James Panther 2022-01-16 09:17:38 +11:00
parent 6a9b4b4adb
commit 86ab0ae31a
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 6 additions and 6 deletions

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"