2018-12-21 00:31:13 +00:00
|
|
|
[build]
|
|
|
|
publish = "exampleSite/public"
|
|
|
|
command = "hugo -s exampleSite"
|
|
|
|
|
|
|
|
[build.environment]
|
|
|
|
HUGO_THEME = "repo"
|
|
|
|
HUGO_THEMESDIR = "/opt/build"
|
2020-06-01 11:42:40 +00:00
|
|
|
HUGO_VERSION = "0.72.0"
|
2018-12-21 00:31:13 +00:00
|
|
|
|
|
|
|
[context.production.environment]
|
|
|
|
HUGO_BASEURL = "https://learn.netlify.com/"
|
|
|
|
|
|
|
|
[context.deploy-preview]
|
|
|
|
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
|
|
|
|
|
|
|
[context.deploy-preview.environment]
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
|
|
|
|
[context.branch-deplpy]
|
|
|
|
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
|
|
|
|
|
|
|
[context.branch-deploy.environment]
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|