From 31fd556e01379b090369babcbb65a4b81657e65a Mon Sep 17 00:00:00 2001 From: Kingdon P Barrett Date: Sun, 21 Jan 2024 10:13:14 -0500 Subject: [PATCH 1/3] Fix Hugo 0.112.0 deprecation https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 While cruising the logs I noticed a deprecation warning that can be fixed, this may or may not have any impact to resolve #1780 Signed-off-by: Kingdon P Barrett --- hugo.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 9ddf61027..04c4f9556 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -71,10 +71,11 @@ markup: languages: en: - languageName: English - languageCode: en - time_format_default: 2006-01-02 - time_format_blog: 2006-01-02 + params: + languageName: English + languageCode: en + time_format_default: 2006-01-02 + time_format_blog: 2006-01-02 permalinks: blog: /:section/:year/:month/:slug/ From 397b307e14697428ebc6a532a8824aa5f56fed42 Mon Sep 17 00:00:00 2001 From: Kingdon P Barrett Date: Sun, 21 Jan 2024 11:28:33 -0500 Subject: [PATCH 2/3] Add = to parameter for environment=branch Signed-off-by: Kingdon P Barrett --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd5bcadfe..f6105bea5 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ preview-build: gen-content prereqs ## Builds a preview build (for e.g. a pull re branch-build: gen-content prereqs ## Builds a Git branch (for e.g. development branches). hugo \ --baseURL $(DEPLOY_PRIME_URL) \ - --environment branch \ + --environment=branch \ --buildFuture \ --gc \ --minify \ From 8dea7a617a957bfe7102daa75e7be44f547858fb Mon Sep 17 00:00:00 2001 From: Kingdon P Barrett Date: Sun, 21 Jan 2024 11:39:35 -0500 Subject: [PATCH 3/3] update node to 18 matching requirements https://app.netlify.com/sites/fluxcd/deploys/65ad464172fae50008652a6b#L1400 The error: 11:29:36 AM: npm WARN EBADENGINE Unsupported engine { 11:29:36 AM: npm WARN EBADENGINE package: "@sindresorhus/merge-streams@1.0.0", 11:29:36 AM: npm WARN EBADENGINE required: { node: ">=18" }, 11:29:36 AM: npm WARN EBADENGINE current: { node: "v16.20.2", npm: "8.19.4" } 11:29:36 AM: npm WARN EBADENGINE } 11:29:36 AM: npm WARN EBADENGINE Unsupported engine { 11:29:36 AM: npm WARN EBADENGINE package: "globby@14.0.0", 11:29:36 AM: npm WARN EBADENGINE required: { node: ">=18" }, 11:29:36 AM: npm WARN EBADENGINE current: { node: "v16.20.2", npm: "8.19.4" } 11:29:36 AM: npm WARN EBADENGINE } ... Signed-off-by: Kingdon P Barrett --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 085f57512..a73c50b7c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ [build.environment] HUGO_VERSION = "0.121.2" - NODE_VERSION = "16" + NODE_VERSION = "18" GO_VERSION = "1.18" [context.production.environment]