summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-18 21:25:43 +0200
committerAlan Pearce2018-06-18 21:28:55 +0200
commitdc7dfc77d7ed088d198cbef6fee6a98ad8ef157c (patch)
tree76fbab3e8ddadddbf43a85b7773f9dd5d7779062
parent3e42853918b518ea3fe9ad0f61b3fe119c56ea57 (diff)
downloadwebsite-dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c.tar.xz
website-dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c.zip
Separate env vars per environment
-rw-r--r--netlify.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index 5488f77..6b14df6 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,10 +1,13 @@
1[build] 1[build]
2 publish = "public" 2 publish = "public"
3 command = "hugo" 3 command = "hugo"
4 [build.environment]
5 HUGO_VERSION = "0.41"
4 6
5[context.production.environment] 7[context.production.environment]
6 HUGO_VERSION = "0.41"
7 HUGO_ENV = "production" 8 HUGO_ENV = "production"
9
10[context.branch-deploy.environment]
8 HUGO_ENABLEGITINFO = "true" 11 HUGO_ENABLEGITINFO = "true"
9 12
10[[redirects]] 13[[redirects]]