netlify.toml 551 B

123456789101112131415161718192021222324
  1. [build]
  2. publish = "exampleSite/public"
  3. command = "hugo -s exampleSite"
  4. [build.environment]
  5. HUGO_THEME = "repo"
  6. HUGO_THEMESDIR = "/opt/build"
  7. HUGO_VERSION = "0.50"
  8. [context.production.environment]
  9. HUGO_BASEURL = "https://learn.netlify.com/"
  10. [context.deploy-preview]
  11. command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
  12. [context.deploy-preview.environment]
  13. HUGO_ENABLEGITINFO = "true"
  14. [context.branch-deplpy]
  15. command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
  16. [context.branch-deploy.environment]
  17. HUGO_ENABLEGITINFO = "true"