hugo-academic-mirror/starters/academic-cv/netlify.toml

22 lines
582 B
TOML
Raw Normal View History

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