chore(git): merge pull request #740 from theNewDynamic/fix/netlify-config

build(fix): proper configuration for netlify
This commit is contained in:
Patrick Kollitsch 2024-10-18 07:28:41 +07:00 committed by GitHub
commit 8e1a6dc213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,8 @@
[build] [build]
publish = "./exampleSite/public/" publish = "./exampleSite/public/"
command = "npm run deploy" command = "npm run deploy"
[build.environment]
[context.production] HUGO_VERSION = "0.128.0"
[context.production.environment]
HUGO_VERSION = "0.135.0"
HUGO_ENV = "production" HUGO_ENV = "production"
GO_VERSION = "1.23" GO_VERSION = "1.23"
NODE_ENV = "development" NODE_ENV = "development"