hugo/docs/netlify.toml
2018-08-08 13:54:42 +02:00

31 lines
596 B
TOML

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