From a7d67880f25076c576bea58575d53ed82e017295 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Wed, 13 Nov 2024 19:05:05 +0100 Subject: [PATCH 1/3] Add tool-versions file This helps software like asdf discover exactly what version of hugo to use, since hugo versions often have incompatibilities --- .tool-versions | 1 + 1 file changed, 1 insertion(+) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 000000000..5ca8a7bf6 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +hugo extended_0.130.0 From 1786bd48c810ce69e3ffeff3f9ddb53bf4c190f6 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Thu, 14 Nov 2024 10:37:44 +0100 Subject: [PATCH 2/3] Update deploy.yml --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 75ec34d5d..5e2122466 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,6 +40,8 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: + # Please make sure you also update the .tool-versions file + # when changing the next two lines hugo-version: "0.130.0" extended: true From 54283a4d92f6e49fca1dda395d4c958433874f33 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Thu, 14 Nov 2024 10:39:26 +0100 Subject: [PATCH 3/3] Update .tool-versions --- .tool-versions | 1 + 1 file changed, 1 insertion(+) diff --git a/.tool-versions b/.tool-versions index 5ca8a7bf6..3d78b2bd9 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ +# Please make sure you update the GitHub Actions workflow when upgrading the hugo version hugo extended_0.130.0