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.
This commit is contained in:
committed by
k8s-ci-robot
parent
7acd18803a
commit
f5d28ad24b
+3
-12
@@ -2,25 +2,16 @@
|
||||
publish = "public"
|
||||
command = "hugo"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.46"
|
||||
|
||||
[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"
|
||||
|
||||
Reference in New Issue
Block a user