summaryrefslogtreecommitdiffstats
path: root/docs/netlify.toml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-02-27 09:36:36 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-02-27 09:36:36 +0100
commit57637d89ec437395e3785ea97d20f093bbdc0a8e (patch)
tree5d706db31bdcb5b325d115fe78314f14e2b486ad /docs/netlify.toml
parent13ea1e7c352852966f88ef119d9434bbb1ee62fa (diff)
parent900b5f6cfe5a377ef369d26cd700201be4cf6b06 (diff)
Diffstat (limited to 'docs/netlify.toml')
-rw-r--r--docs/netlify.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/netlify.toml b/docs/netlify.toml
index 9badd7024..6f21789b2 100644
--- a/docs/netlify.toml
+++ b/docs/netlify.toml
@@ -7,6 +7,13 @@ HUGO_VERSION = "0.36.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
+[context.split1]
+command = "hugo --enableGitInfo"
+
+[context.split1.environment]
+HUGO_VERSION = "0.36.1"
+HUGO_ENV = "production"
+
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
@@ -21,3 +28,4 @@ HUGO_VERSION = "0.36.1"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
+