portails/netlify.toml

18 lines
401 B
TOML
Raw Normal View History

2020-04-15 15:48:16 +02:00
[build]
2020-11-04 08:26:58 +01:00
publish = "public"
functions = "functions"
2020-04-15 15:48:16 +02:00
[build.environment]
HUGO_VERSION = "0.80.0"
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
2020-11-04 08:26:58 +01:00
[context.production]
command = "hugo -b $URL --gc --minify && npm run build:functions"
2020-04-15 15:48:16 +02:00
[context.deploy-preview]
2020-11-04 08:26:58 +01:00
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
2020-04-15 15:48:16 +02:00
[context.branch-deploy]
2020-11-04 08:26:58 +01:00
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"