all repos — website @ dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c

My website

Separate env vars per environment
Alan Pearce alan@alanpearce.eu
Mon, 18 Jun 2018 21:25:43 +0200
commit

dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c

parent

3e42853918b518ea3fe9ad0f61b3fe119c56ea57

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M netlify.tomlnetlify.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]]