diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..b130ecf --- /dev/null +++ b/netlify.toml @@ -0,0 +1,13 @@ +[build] + base = "exampleSite" + command = "hugo --gc --themesDir ../.. -b $URL" + publish = "exampleSite/public" + +[build.environment] + HUGO_THEME = "repo" + +[context.deploy-preview] + command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL" + +[context.branch-deploy] + command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"