From f130e1ac7f75c1421b94096149d0a5507b084864 Mon Sep 17 00:00:00 2001 From: Edward Muller <edward_muller@icloud.com> Date: Thu, 25 Mar 2021 13:27:01 +0000 Subject: [PATCH] Add support for using as a Hugo module (#534) --- netlify.toml | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/netlify.toml b/netlify.toml index 9a854c6..5234e10 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,14 +1,9 @@ [build] +HUGO_VERSION = "0.77.0" +HUGO_THEME = "repo" +GO_VERSION = "1.16.2" publish = "exampleSite/public" command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL" -[context.production.environment] -HUGO_VERSION = "0.73.0" -HUGO_THEME = "repo" - [context.deploy-preview] command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.73.0" -HUGO_THEME = "repo" -- Gitblit v1.10.0