diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-11-07 09:55:39 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-11-07 09:55:39 +0300 |
commit | 0a7a4406bc95d7e3c09f3f16af9ab1720bc9ba8e (patch) | |
tree | 9eab9d2503fdd32ed85b3c3ec2cad62848caa20b | |
parent | 0ebea4ca9367218964879e4ab4ba29390ec4718b (diff) |
Add Netlify config
Fixes #36
-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..b76952b --- /dev/null +++ b/netlify.toml @@ -0,0 +1,20 @@ +[build] +publish = "public" +command = "hugo --gc" + +[context.production.environment] +HUGO_VERSION = "0.59.1" + +[context.deploy-preview] +command = "hugo -D -F -b $DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] +HUGO_VERSION = "0.59.1" + +[context.branch-deploy] +command = "hugo --gc -b $DEPLOY_PRIME_URL" + +[context.branch-deploy.environment] +HUGO_VERSION = "0.59.1" + + |