From 8064d4bc12c1ae880a0dcce69ac484d197735459 Mon Sep 17 00:00:00 2001 From: Chris Abraham Date: Wed, 17 Jan 2024 20:39:27 +0700 Subject: [PATCH] Correctly set HUGO_ENV Signed-off-by: Chris Abraham --- website/netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/netlify.toml b/website/netlify.toml index e04cfd8a..ba8734ff 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -2,3 +2,9 @@ [build.environment] HUGO_VERSION = "0.104.3" GO_VERSION = "1.19.2" + +[context.production.environment] +HUGO_ENV = "production" + +[context.deploy-preview.environment] +HUGO_ENV = "preview" \ No newline at end of file