From da0e638f04cfab1ed93891231035439ad77666d1 Mon Sep 17 00:00:00 2001 From: Tim Jones Date: Fri, 8 Apr 2022 15:04:31 +0200 Subject: [PATCH] docs: stableize tools versioning Ensure that the site generation tools are up to date and match versions. Signed-off-by: Tim Jones --- Makefile | 8 ++++++-- netlify.toml | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dab68a0ed..f954a8e8b 100644 --- a/Makefile +++ b/Makefile @@ -187,8 +187,12 @@ docs: ## Generates the documentation for machine config, and talosctl. @$(MAKE) local-$@ DEST=./ PLATFORM=linux/amd64 .PHONY: docs-preview -docs-preview: ## Starts a local preview of the documentation using Hugo - @hugo server -s website +docs-preview: ## Starts a local preview of the documentation using Hugo in docker + @docker run --rm --interactive --tty \ + --volume $(PWD):/src --workdir /src/website \ + --publish 1313:1313 \ + klakegg/hugo:0.95.0-ext-alpine \ + server # Local Artifacts diff --git a/netlify.toml b/netlify.toml index 2b7cd616d..a82196d7a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,5 +3,5 @@ command = "cd website && hugo --gc --minify" publish = "website/public" [build.environment] -HUGO_VERSION = "0.93.2" -NODE_VERSION = "12.21.0" +HUGO_VERSION = "0.95.0" +NODE_VERSION = "16.13.2"