diff options
author | Alan Pearce | 2018-06-18 21:25:43 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-18 21:28:55 +0200 |
commit | dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c (patch) | |
tree | 76fbab3e8ddadddbf43a85b7773f9dd5d7779062 | |
parent | 3e42853918b518ea3fe9ad0f61b3fe119c56ea57 (diff) | |
download | website-dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c.tar.lz website-dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c.tar.zst website-dc7dfc77d7ed088d198cbef6fee6a98ad8ef157c.zip |
Separate env vars per environment
-rw-r--r-- | netlify.toml | 5 |
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 @@ [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]] |