Add Netlify config for a split testin branch

See #374
This commit is contained in:
Bjørn Erik Pedersen committed 2018-02-27 09:06:41 +01:00
1 parent 4917f06363
commit 715741f739
1 file changed
+8
+8
View File
@@ -7,6 +7,13 @@ HUGO_VERSION = "0.36.1"
HUGO_ENV = "production" HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.36.1"
HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL" command = "hugo -b $DEPLOY_PRIME_URL"
@@ -21,3 +28,4 @@ HUGO_VERSION = "0.36.1"
[context.next.environment] [context.next.environment]
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"