2022-02-13 13:10:22 +00:00
|
|
|
[build]
|
2024-02-17 22:09:59 +00:00
|
|
|
command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'"
|
2022-02-13 13:10:22 +00:00
|
|
|
publish = "public"
|
|
|
|
|
|
|
|
[build.environment]
|
2024-02-28 19:55:30 +00:00
|
|
|
HUGO_VERSION = "0.123.6"
|
2022-02-13 13:10:22 +00:00
|
|
|
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
|