Auto _headers file generation logic (#9225)

This commit is contained in:
Luc Perkins
2018-07-27 15:27:57 -07:00
committed by k8s-ci-robot
parent 4e0858f2d5
commit bf4b9377e6
4 changed files with 64 additions and 8 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
[build]
# This default build command adds the robots noindex directive to the site headers
publish = "public"
command = "hugo --enableGitInfo && cp netlify_noindex_headers.txt public/_headers"
command = "hugo"
[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"