mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
Pin Docker builds and Netlify previews to Hugo 0.169.0. Replace deprecated `.Params.summary` lookups with `.RawSummary` in the guide template. Validation: the full minified debug build passed with `--panicOnWarning`, path checks, and unused-template checks, with no deprecation notices. Dockerfile and template formatting checks, Markdown post-processing tests, rendered summary/redirect checks, and API output validation passed.
14 lines
442 B
TOML
14 lines
442 B
TOML
[build]
|
|
publish = "public"
|
|
|
|
[context.deploy-preview.environment]
|
|
NODE_VERSION = "24"
|
|
NODE_ENV = "production"
|
|
HUGO_VERSION = "0.169.0"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
HUGO_ENVIRONMENT = "preview"
|
|
SECRETS_SCAN_OMIT_PATHS = "public/contribute/file-conventions/index.html"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && node hack/flatten-and-resolve.js && node hack/api-docs/verify-output.mjs && npx pagefind@v1.5.2"
|