From b40f4f53bb6005d404d1bc7d5aee3407505edf3a Mon Sep 17 00:00:00 2001 From: mickeybeurskens Date: Sun, 18 Aug 2024 21:34:17 +0200 Subject: [PATCH] Fix automated deploy deprecation warnings --- .github/workflows/hugo-deploy.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/hugo-deploy.yaml b/.github/workflows/hugo-deploy.yaml index f08dc2b..e3fbb24 100644 --- a/.github/workflows/hugo-deploy.yaml +++ b/.github/workflows/hugo-deploy.yaml @@ -22,7 +22,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.121.0 + HUGO_VERSION: 0.131.0 steps: - name: Install Hugo CLI run: | @@ -31,12 +31,14 @@ jobs: - name: Install Dart Sass run: sudo snap install dart-sass - name: Checkout - uses: actions/checkout@v3 - with: - submodules: recursive + uses: actions/checkout@v4 - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' - name: Build with Hugo env: HUGO_ENVIRONMENT: production @@ -46,7 +48,7 @@ jobs: --minify \ --baseURL "${{ steps.pages.outputs.base_url }}" - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: path: ./public @@ -59,4 +61,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file