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.
|
2018-08-09 01:07:19 +00:00
|
|
|
# It is turned off for only for the production site by using [context.master] below
|
|
|
|
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
|
2018-05-05 16:00:51 +00:00
|
|
|
publish = "public"
|
2018-08-21 19:51:15 +00:00
|
|
|
command = "make non-production-build"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
2018-08-02 22:41:27 +00:00
|
|
|
[build.environment]
|
2018-08-21 16:52:13 +00:00
|
|
|
HUGO_VERSION = "0.47.1"
|
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]
|
2018-07-02 23:17:19 +00:00
|
|
|
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2018-07-02 23:17:19 +00:00
|
|
|
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
|
2018-08-06 21:19:16 +00:00
|
|
|
|
|
|
|
[context.master]
|
2018-08-09 01:07:19 +00:00
|
|
|
# This context is triggered by the `master` branch and allows search indexing
|
|
|
|
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
|
2018-08-06 21:19:16 +00:00
|
|
|
publish = "public"
|
2018-08-21 19:51:15 +00:00
|
|
|
command = "make production-build"
|