website/netlify.toml

18 lines
401 B
TOML
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
[build]
publish = "public"
functions = "functions"
[build.environment]
HUGO_VERSION = "0.80.0"
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
[context.production]
command = "hugo -b $URL --gc --minify && npm run build:functions"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"