From dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 18 Jun 2018 21:25:43 +0200 Subject: Separate env vars per environment --- netlify.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 5488f77..6b14df6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,10 +1,13 @@ [build] publish = "public" command = "hugo" + [build.environment] + HUGO_VERSION = "0.41" [context.production.environment] - HUGO_VERSION = "0.41" HUGO_ENV = "production" + +[context.branch-deploy.environment] HUGO_ENABLEGITINFO = "true" [[redirects]] -- cgit 1.4.1