From aa8a77d97318850144e8ba1c6f0c81a51233714e Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 26 Nov 2017 22:01:11 +0000 Subject: [PATCH] Netlify context fix --- netlify.toml | 6 +++++- website/.nvmrc | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 website/.nvmrc diff --git a/netlify.toml b/netlify.toml index 3cd50c583..f921dc646 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,5 +2,9 @@ base = "website" publish = "website/_speedpack" command = "npm run build" + +[context.production.environment] + HUGO_VERSION = "0.30" + +[context.deploy-preview.environment] HUGO_VERSION = "0.30" - NODE_VERSION = "9" diff --git a/website/.nvmrc b/website/.nvmrc new file mode 100644 index 000000000..f11c82a4c --- /dev/null +++ b/website/.nvmrc @@ -0,0 +1 @@ +9 \ No newline at end of file