Skip to content

Commit

Permalink
Correctly set HUGO_ENV
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
  • Loading branch information
cjyabraham committed Jan 17, 2024
1 parent 9877fa5 commit 8064d4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 8064d4b

Please sign in to comment.