2018-05-05 16:00:51 +00:00
|
|
|
[build]
|
2018-08-06 21:19:16 +00:00
|
|
|
# This default build command adds the robots noindex directive to the site headers.
|
2022-10-06 11:36:52 +00:00
|
|
|
# It is turned off for only for the production site by using [context.main] below
|
2020-04-21 21:55:07 +00:00
|
|
|
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
|
2018-05-05 16:00:51 +00:00
|
|
|
publish = "public"
|
2018-10-03 20:04:39 +00:00
|
|
|
functions = "functions"
|
2020-06-16 19:33:01 +00:00
|
|
|
command = "git submodule update --init --recursive --depth 1 && make non-production-build"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
2018-08-02 22:41:27 +00:00
|
|
|
[build.environment]
|
2020-05-13 23:45:36 +00:00
|
|
|
NODE_VERSION = "10.20.0"
|
2023-10-24 13:43:25 +00:00
|
|
|
HUGO_VERSION = "0.120.3"
|
2018-08-02 22:41:27 +00:00
|
|
|
|
2018-05-05 16:00:51 +00:00
|
|
|
[context.production.environment]
|
|
|
|
HUGO_BASEURL = "https://kubernetes.io/"
|
|
|
|
HUGO_ENV = "production"
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
|
2016-09-07 23:37:43 +00:00
|
|
|
[context.deploy-preview]
|
2020-06-16 19:33:01 +00:00
|
|
|
command = "git submodule update --init --recursive --depth 1 && make deploy-preview"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2021-12-07 14:16:55 +00:00
|
|
|
command = "git submodule update --init --recursive --depth 1 && make non-production-build"
|
2018-08-06 21:19:16 +00:00
|
|
|
|
2021-12-07 14:16:55 +00:00
|
|
|
[context.main]
|
|
|
|
# This context is triggered by the `main` branch and allows search indexing
|
2020-04-21 21:55:07 +00:00
|
|
|
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
|
2018-08-06 21:19:16 +00:00
|
|
|
publish = "public"
|
2020-06-16 19:33:01 +00:00
|
|
|
command = "git submodule update --init --recursive --depth 1 && make production-build"
|