From 715741f7393cec2a9b34254bda6e815e9391a632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 27 Feb 2018 09:06:41 +0100 Subject: [PATCH] Add Netlify config for a split testin branch See #374 --- netlify.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/netlify.toml b/netlify.toml index 9badd7024..6f21789b2 100644 --- a/netlify.toml +++ b/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" +