Files
portfolio-site/exampleSite/netlify.toml
George Cushen f267ba96ae modules(demo): update + convert config.toml to config.yaml
Poll results 11 YAML to 6 TOML: https://discord.com/channels/722225264733716590/738922126966521907/809481717031239700

Disable CMS in demo.
Add Netlify `resources/` caching to demo.
2021-03-01 12:43:06 +00:00

22 lines
479 B
TOML

[build]
command = "hugo --gc --minify -b $URL"
publish = "public"
[build.environment]
HUGO_VERSION = "0.81.0"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
debug = true