From 070e91d0703efe2d063f6b4068a8e93e596afe43 Mon Sep 17 00:00:00 2001 From: Maneesha Sane Date: Wed, 8 Jan 2025 15:35:01 -0500 Subject: [PATCH 1/3] update theme --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index be407d1..21891b3 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/datacrpentry/new-website go 1.18 -require github.com/carpentries/carpentries-hugo-theme v0.0.0-20241114215553-621b07624b64 // indirect +require github.com/carpentries/carpentries-hugo-theme v0.0.0-20250108154310-c652aec770d5 // indirect diff --git a/go.sum b/go.sum index b360ad5..f1909a5 100644 --- a/go.sum +++ b/go.sum @@ -20,3 +20,5 @@ github.com/carpentries/carpentries-hugo-theme v0.0.0-20241014205912-6f7e6864ddbf github.com/carpentries/carpentries-hugo-theme v0.0.0-20241014205912-6f7e6864ddbf/go.mod h1:folIYik0FmlDRY0TIqSlFfhFi1OV+0mDYhBgsND+4JA= github.com/carpentries/carpentries-hugo-theme v0.0.0-20241114215553-621b07624b64 h1:2VMnWbTlM/WFG03qAfLMIWQvi4mgzHotitKMJ+asGMk= github.com/carpentries/carpentries-hugo-theme v0.0.0-20241114215553-621b07624b64/go.mod h1:folIYik0FmlDRY0TIqSlFfhFi1OV+0mDYhBgsND+4JA= +github.com/carpentries/carpentries-hugo-theme v0.0.0-20250108154310-c652aec770d5 h1:T0GzpWZB5tFEv3T7wsNlVJoz+CWnigU21p5i/O96gFw= +github.com/carpentries/carpentries-hugo-theme v0.0.0-20250108154310-c652aec770d5/go.mod h1:folIYik0FmlDRY0TIqSlFfhFi1OV+0mDYhBgsND+4JA= From 526cbb6233ee0a509414c28807b587f256882292 Mon Sep 17 00:00:00 2001 From: maneesha <829690+maneesha@users.noreply.github.com> Date: Wed, 8 Jan 2025 15:53:25 -0500 Subject: [PATCH 2/3] netlify hugo version Just as we did for carpentries.org, pin Netlify Hugo version to same as GH action. See https://github.com/carpentries/carpentries.org/pull/349 --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 17c0ab3..45823bf 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" command = "hugo --environment staging --minify" [build.environment] - GO_VERSION = "1.14" + GO_VERSION = "1.18" NODE_VERSION = "21.1.0" HUGO_VERSION = "0.123.7" [context] @@ -29,4 +29,4 @@ command = "hugo --environment staging --minify -b $DEPLOY_URL" publish = "public" port = 8888 targetPort = 1313 - framework = "#custom" \ No newline at end of file + framework = "#custom" From e52c9f22d7edf6e3839011dd0a784ef1f4274dd7 Mon Sep 17 00:00:00 2001 From: maneesha <829690+maneesha@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:05:24 -0500 Subject: [PATCH 3/3] also update hugo version --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 45823bf..887be3d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,7 +5,7 @@ command = "hugo --environment staging --minify" [build.environment] GO_VERSION = "1.18" NODE_VERSION = "21.1.0" - HUGO_VERSION = "0.123.7" + HUGO_VERSION = "0.139.2" [context] [context.production]