website/netlify.toml

27 lines
607 B
TOML

[build]
publish = "public"
command = "hugo"
[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"
HUGO_VERSION = "0.45.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.45.1"
[context.branch-deploy]
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.45.1"
[context.master]
# This context is triggered by the master branch and allows search indexing
publish = "public"
command = "hugo"