mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-06-10 00:03:10 +00:00
The netlify error analysis: The problem is that base = "site/" makes the build run from the site subdirectory, and publish = "site/public" is resolved relative to the repo root as site/site/public — but Hugo outputs to site/public. Since the base is already site/, the publish path should just be public (relative to the base directory). Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
11 lines
203 B
TOML
11 lines
203 B
TOML
[build]
|
|
base = "site/"
|
|
command = "hugo --gc --minify"
|
|
publish = "public"
|
|
|
|
[context.production.environment]
|
|
HUGO_VERSION = "0.73.0"
|
|
|
|
[context.deploy-preview.environment]
|
|
HUGO_VERSION = "0.73.0"
|