build(fix): proper configuration for netlify
- move environment from production to general build section - set HUGO_VERSION to 0.128.0 as per hugo.toml Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
parent
773f06c207
commit
db073d61a0
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue