Skip to content

Commit

Permalink
workflows: update workflow actions
Browse files Browse the repository at this point in the history
Update the workflow actions used in hugo.yml.

GitHub Actions emits some warnings regarding Node 16 deprecation and
recommends updating the workflows to the latest version running on Node
20.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
  • Loading branch information
l-zeuch committed Jun 8, 2024
1 parent 99b6c0b commit 94d5706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: latest
# We use the extended version just to be on the safe side.
Expand All @@ -55,7 +55,7 @@ jobs:

- name: Upload artifact
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v4
with:
path: ./public

Expand Down

0 comments on commit 94d5706

Please # to comment.