Skip to content

Commit

Permalink
build(fix): proper configuration for netlify
Browse files Browse the repository at this point in the history
- move environment from production to general build section
- set HUGO_VERSION to 0.128.0 as per hugo.toml

Signed-off-by: Patrick Kollitsch <[email protected]>
  • Loading branch information
davidsneighbour committed Oct 18, 2024
1 parent 773f06c commit db073d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit db073d6

Please sign in to comment.