colmaris.fr/themes/hugo-blog-awesome/netlify.toml

18 lines
575 B
TOML

# Settings in the [build] context are global and are applied to
# all contexts unless otherwise overridden by more specific contexts.
[build]
base = "/"
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.123.8"
GO_VERSION = "1.22.1"
NODE_VERSION = "20"
HUGO_THEME = "repo"
# Deploy Preview context: all deploys generated from
# a pull/merge request will inherit these settings.
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"