themes/hugo-coder/netlify.toml

c01cf81aac27f547c014066ff6d5a23f426c080f · 308 B · 10 lines raw

1 [build]
2 publish = "exampleSite/public"
3 command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL"
4
5 [build.environment]
6 HUGO_VERSION = "0.77.0"
7 HUGO_THEME = "repo"
8
9 [context.deploy-preview]
10 command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"