netlify.toml 497 B

123456789101112131415161718
  1. [build]
  2. command = "hugo --gc --minify -b $URL --themesDir ../../"
  3. base = "exampleSite"
  4. publish = "exampleSite/public"
  5. [build.environment]
  6. HUGO_THEME = "repo"
  7. HUGO_VERSION = "0.55.6"
  8. HUGO_ENABLEGITINFO = "true"
  9. [context.production.environment]
  10. HUGO_ENV = "production"
  11. [context.deploy-preview]
  12. command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../"
  13. [context.branch-deploy]
  14. command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../"