From 436f2a36a12a66777f0f217e2d1c147fd63b69c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 16 Jul 2017 23:17:54 +0200 Subject: [PATCH] Improve Netlify config --- netlify.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index a71e2441a..addb812a2 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,8 +7,12 @@ HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" -[context.next.environment] +[context.deploy-preview.environment] HUGO_VERSION = "0.25.1" - HUGO_ENV = "development" + +[context.branch-deploy.environment] + HUGO_VERSION = "0.25.1" + +[context.next.environment] HUGO_BASEURL = "https://next--gohugoio.netlify.com/" HUGO_ENABLEGITINFO = "true" \ No newline at end of file