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:
parent
7acd18803a
commit
f5d28ad24b
15
netlify.toml
15
netlify.toml
|
@ -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"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/styles.min.d02f2440b9c46e9d70858ef9d01d95c96f4568fa648bbfa71dc44a5032967a62.css","MediaType":"text/css","Data":{"Integrity":"sha256-0C8kQLnEbp1whY750B2VyW9FaPpki7+nHcRKUDKWemI="}}
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
{"Target":"css/styles.css","MediaType":"text/css","Data":{}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/styles.min.d02f2440b9c46e9d70858ef9d01d95c96f4568fa648bbfa71dc44a5032967a62.css","MediaType":"text/css","Data":{"Integrity":"sha256-0C8kQLnEbp1whY750B2VyW9FaPpki7+nHcRKUDKWemI="}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/case_study_styles.min.24d4c012d9ac488d91a75f20c259fb8dfa91247df002a99ab5313ae4d60dbcf6.css","MediaType":"text/css","Data":{"Integrity":"sha256-JNTAEtmsSI2Rp18gwln7jfqRJH3wAqmatTE65NYNvPY="}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/styles.min.d02f2440b9c46e9d70858ef9d01d95c96f4568fa648bbfa71dc44a5032967a62.css","MediaType":"text/css","Data":{"Integrity":"sha256-0C8kQLnEbp1whY750B2VyW9FaPpki7+nHcRKUDKWemI="}}
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
{"Target":"css/styles.css","MediaType":"text/css","Data":{}}
|
Loading…
Reference in New Issue