diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-11 16:19:15 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-11 16:19:15 +0300 |
commit | 7d50b73b39592a4f421552cfbe4dd8afd3548168 (patch) | |
tree | de787b5df59481824d2011f8e6c9dd9ff68c754f | |
parent | d39dff61dd17fd348a96b7a642f982382ee9fc91 (diff) |
Add Netlify build config
-rw-r--r-- | netlify.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..8a79964 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,20 @@ +[build] +publish = "exampleSite/public" +command = "hugo --gc -s exampleSite --minify" + +[context.production.environment] +HUGO_VERSION = "0.91.1" + +[context.deploy-preview] +command = "hugo -s exampleSite --minify -D -F -b $DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] +HUGO_VERSION = "0.91.1" + +[context.branch-deploy] +command = "hugo -s exampleSite --minify --gc -b $DEPLOY_PRIME_URL" + +[context.branch-deploy.environment] +HUGO_VERSION = "0.91.1" + + |