mirror of https://github.com/jpanther/congo.git
👷 Adjust Netlify URLs
parent
5ab6b19681
commit
f44a9efd9e
|
@ -1,6 +1,6 @@
|
||||||
[build]
|
[build]
|
||||||
base = "exampleSite"
|
base = "exampleSite"
|
||||||
command = "hugo --minify"
|
command = "hugo --gc --minify"
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
|
@ -9,7 +9,8 @@ HUGO_THEMESDIR = "../.."
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_BASEURL = "$URL"
|
HUGO_BASEURL = $URL
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_BASEURL = "$DEPLOY_PRIME_URL"
|
HUGO_BASEURL = $DEPLOY_PRIME_URL
|
||||||
|
|
Loading…
Reference in New Issue