mirror of https://github.com/jpanther/congo.git
👷 Update Netlify build config
parent
6a9b4b4adb
commit
86ab0ae31a
12
netlify.toml
12
netlify.toml
|
@ -1,5 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
command = "cd exampleSite && hugo --gc --minify -b $URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $URL"
|
||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
|
@ -8,17 +8,17 @@ HUGO_THEME = "repo"
|
||||||
TZ = "Australia/Melbourne"
|
TZ = "Australia/Melbourne"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.91.0"
|
HUGO_VERSION = "0.92.0"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[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]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.91.0"
|
HUGO_VERSION = "0.92.0"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[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]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.91.0"
|
HUGO_VERSION = "0.92.0"
|
||||||
|
|
Loading…
Reference in New Issue