Files
website/netlify.toml
T
Bjørn Erik Pedersen f5d28ad24b Update to Hugo 0.46 (#9703)
* Update to Hugo 0.46

This will only do the SASS building once for every languages (English and Chinese). For the Kubernetes site, this is mostly about speed.

* netlify: Simplify setup

Remove duplicate version defintions etc.
2018-08-02 15:41:27 -07:00

18 lines
372 B
TOML

[build]
publish = "public"
command = "hugo"
[build.environment]
HUGO_VERSION = "0.46"
[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"