hugo/docs/netlify.toml
2018-07-18 11:05:58 +02:00

31 lines
596 B
TOML

[build]
publish = "public"
command = "hugo"
[context.production.environment]
HUGO_VERSION = "0.44"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.44"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.44"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.44"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"