Skip to content

Commit

Permalink
fix: GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-touret committed Dec 16, 2024
1 parent b464c10 commit 04a8e48
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vale-sh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04a8e48

Please sign in to comment.