Skip to content

Commit 487ee0a

Browse files
committed
Try to explicitly set HUGO_ENV
Signed-off-by: Chris Abraham <[email protected]>
1 parent b0fbd3b commit 487ee0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
[build.environment]
22
NODE_VERSION = "18.16.1"
33
HUGO_VERSION = "0.115.2"
4+
5+
[context.production.environment]
6+
HUGO_ENV = "production"
7+
8+
[context.deploy-preview.environment]
9+
HUGO_ENV = "preview"

0 commit comments

Comments
 (0)