diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2019-01-29 18:10:58 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2019-01-29 18:10:58 +0300 |
commit | 2a2101f2233face603cab30c4056dcb0d68fba8e (patch) | |
tree | 3167387cc3994ee011920113693f0aa48996f1eb /netlify.toml | |
parent | e7cdff66ededc15d9ccd7fc0a61031ef63c3ccde (diff) |
chore: move Netlify ENV to global so it's not just applied to prod
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml index 5bc7fed8..066303b0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,8 +1,10 @@ [build] - publish = "public" command = "hugo" + publish = "public" -[context.production.environment] +[build.environment] HUGO_VERSION = "0.53" - HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" + +[context.production.environment] + HUGO_ENV = "production" |