mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 07:54:50 -04:00
Fix baseURL in Netlify deploy previews
This commit is contained in:
parent
046497616f
commit
26d1f45429
23
netlify.toml
23
netlify.toml
@ -1,18 +1,23 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "hugo"
|
||||
publish = "public"
|
||||
command = "hugo"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.36"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
HUGO_VERSION = "0.36"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.36"
|
||||
HUGO_VERSION = "0.36"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.36"
|
||||
HUGO_VERSION = "0.36"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user