diff --git a/netlify.toml b/netlify.toml index ca0307f..1cdf50e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,9 @@ [build] publish = "demo/public" - command = "make prepare && hugo --source demo" + command = "make prepare && hugo --source demo --baseURL $URL" + +[context.production.environment] + HUGO_VERSION = "0.49" [context.deploy-preview] command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"