From c880b0b40657e8543f75dde36b69f43e244fc811 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 1 Jun 2018 18:20:28 +0200
Subject: [PATCH] [web] Updated netlify settings.

---
 netlify.toml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/netlify.toml b/netlify.toml
index 4cf8253669b..df4bdd877b2 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -2,4 +2,9 @@
 [build]
   base    = "web"
   publish = "web/public"
-  command = "git lfs fetch && npm run import && npm run build:release"
+  command = "git lfs fetch && yarn --ignore-engines --ignore-optional --non-interactive && yarn prod"
+
+[context.production.environment]
+  HUGO_VERSION = "0.41"
+[context.deploy-preview.environment]
+  HUGO_VERSION = "0.41"
-- 
GitLab