diff --git a/netlify.toml b/netlify.toml index 4cf8253669b5a3384689396294357fcdb09bb500..df4bdd877b22d251a574520600b6e8aac04a1881 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"