salloum.ch/themes/hugo-blog-awesome/netlify.toml

17 lines
529 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.116.1"
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"