mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
25 lines
551 B
TOML
25 lines
551 B
TOML
|
[build]
|
||
|
publish = "exampleSite/public"
|
||
|
command = "hugo -s exampleSite"
|
||
|
|
||
|
[build.environment]
|
||
|
HUGO_THEME = "repo"
|
||
|
HUGO_THEMESDIR = "/opt/build"
|
||
|
HUGO_VERSION = "0.50"
|
||
|
|
||
|
[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"
|
||
|
|