Add Netlify config for a split testin branch

See #374
This commit is contained in:
Bjørn Erik Pedersen
2018-02-27 09:06:41 +01:00
parent 4917f06363
commit 715741f739
+8
View File
@@ -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"