portails/netlify.toml

19 lines
429 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]
2020-11-04 08:26:58 +01:00
HUGO_VERSION = "0.75.1"
NODE_VERSION = "14.12.0"
NPM_VERSION = "6.14.8"
YARN_VERSION = "1.22.5"
[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"