2018-05-05 16:00:51 +00:00
|
|
|
[build]
|
2018-06-19 22:22:32 +00:00
|
|
|
# This default build command adds the robots noindex directive to the site headers
|
2018-05-05 16:00:51 +00:00
|
|
|
publish = "public"
|
2018-07-02 23:17:19 +00:00
|
|
|
command = "hugo --enableGitInfo && cp netlify_noindex_headers.txt public/_headers"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
|
|
|
[context.production.environment]
|
|
|
|
HUGO_BASEURL = "https://kubernetes.io/"
|
2018-05-10 18:01:53 +00:00
|
|
|
HUGO_VERSION = "0.40.3"
|
2018-05-05 16:00:51 +00:00
|
|
|
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.deploy-preview.environment]
|
2018-05-10 18:01:53 +00:00
|
|
|
HUGO_VERSION = "0.40.3"
|
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-05-05 16:00:51 +00:00
|
|
|
|
|
|
|
[context.branch-deploy.environment]
|
2018-05-10 18:01:53 +00:00
|
|
|
HUGO_VERSION = "0.40.3"
|
2018-05-05 16:00:51 +00:00
|
|
|
|
2018-06-19 22:22:32 +00:00
|
|
|
[context.master]
|
|
|
|
# This context is triggered by the master branch and allows search indexing
|
|
|
|
publish = "public"
|
|
|
|
command = "hugo"
|