Fix baseURL in Netlify deploy previews

This commit is contained in:
Bjørn Erik Pedersen 2018-02-08 09:12:22 +01:00
parent 046497616f
commit 26d1f45429
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F

View File

@ -7,12 +7,17 @@
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.36"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.36"
[context.next.environment]
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
HUGO_ENABLEGITINFO = "true"