diff --git a/netlify.toml b/netlify.toml index 8873b8ac..85e0bd62 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,10 +3,13 @@ [build] base = "docs" publish = "docs/public" - command = 'git submodule update --init --recursive && HUGO_ENV="production" hugo' + command = 'git submodule update --init --recursive && hugo' [[redirects]] from = "https://moor.netlify.com/*" to = "https://moor.simonbinder.eu/:splat" status = 301 - force = true \ No newline at end of file + force = true + +[context.production] + environment = { HUGO_ENV="production" } \ No newline at end of file