From 08e6b91252b1c06075e0b669df5659f28c1d3b71 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 25 May 2023 14:14:36 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20Netlify=20Hugo=20versio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/hosting-deployment/index.md | 6 +++--- netlify.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/exampleSite/content/docs/hosting-deployment/index.md b/exampleSite/content/docs/hosting-deployment/index.md index b823b3af..5b860427 100644 --- a/exampleSite/content/docs/hosting-deployment/index.md +++ b/exampleSite/content/docs/hosting-deployment/index.md @@ -96,15 +96,15 @@ Then in the root of your site repository, create a `netlify.toml` file: [build.environment] NODE_ENV = "production" - GO_VERSION = "1.19" + GO_VERSION = "1.20" TZ = "UTC" # Set to preferred timezone [context.production.environment] - HUGO_VERSION = "0.110.0" + HUGO_VERSION = "0.112.3" HUGO_ENV = "production" [context.deploy-preview.environment] - HUGO_VERSION = "0.110.0" + HUGO_VERSION = "0.112.3" ``` This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`. diff --git a/netlify.toml b/netlify.toml index 488dc0f6..662482fd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,17 +8,17 @@ HUGO_THEME = "repo" TZ = "Australia/Melbourne" [context.production.environment] -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.112.3" HUGO_ENV = "production" [context.deploy-preview] command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.112.3" [context.branch-deploy] command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.112.3"