From 04a8e48f5b909b41683ecdc8331fbf70bffbaa85 Mon Sep 17 00:00:00 2001 From: Alexandre Touret Date: Mon, 16 Dec 2024 10:03:25 +0100 Subject: [PATCH] fix: GH Action --- .github/workflows/gh-pages.yml | 11 ++++++++--- .github/workflows/vale-sh.yml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e4d22b453..902c4d10d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,7 +8,12 @@ on: workflow_dispatch: jobs: deploy: - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + hugo_version: ["latest"] permissions: contents: write steps: @@ -17,9 +22,9 @@ jobs: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: - hugo-version: 'latest' + hugo-version: ${{ matrix.hugo_version }} extended: true - name: Build run: hugo --minify diff --git a/.github/workflows/vale-sh.yml b/.github/workflows/vale-sh.yml index 7817dc901..b651a4ca6 100644 --- a/.github/workflows/vale-sh.yml +++ b/.github/workflows/vale-sh.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: errata-ai/vale-action@reviewdog + - uses: errata-ai/vale-action@v2.1.1 env: # Required, set by GitHub actions automatically: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret