Files
velero/netlify.toml
Daniel Jiang 30381a60e4 Fix the site deployment problem
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>
2026-05-20 15:28:06 +08:00

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"