netlify.toml 479 B

123456789101112131415161718192021
  1. [build]
  2. command = "hugo --gc --minify -b $URL"
  3. publish = "public"
  4. [build.environment]
  5. HUGO_VERSION = "0.91.2"
  6. HUGO_ENABLEGITINFO = "true"
  7. [context.production.environment]
  8. HUGO_ENV = "production"
  9. [context.deploy-preview]
  10. command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
  11. [context.branch-deploy]
  12. command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
  13. [[plugins]]
  14. package = "netlify-plugin-hugo-cache-resources"
  15. [plugins.inputs]
  16. debug = true