Skip to content

Commit

Permalink
Merge pull request #72 from cncf/env
Browse files Browse the repository at this point in the history
Try to explicitly set HUGO_ENV in netlify.toml
  • Loading branch information
cjyabraham committed Jan 19, 2024
2 parents 9877fa5 + 8064d4b commit 680ff1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/netlify.toml
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 680ff1a

Please sign in to comment.