From db073d61a0a28bdfdb06871908e90c27254d4dd0 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Fri, 18 Oct 2024 07:27:47 +0700 Subject: [PATCH] build(fix): proper configuration for netlify - move environment from production to general build section - set HUGO_VERSION to 0.128.0 as per hugo.toml Signed-off-by: Patrick Kollitsch --- netlify.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index de3adf8..33e18d4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,10 +1,8 @@ [build] publish = "./exampleSite/public/" command = "npm run deploy" - -[context.production] -[context.production.environment] -HUGO_VERSION = "0.135.0" +[build.environment] +HUGO_VERSION = "0.128.0" HUGO_ENV = "production" GO_VERSION = "1.23" NODE_ENV = "development"