Skip to content

Commit e7b9f63

Browse files
committed
Update Hugo version and action dependencies in workflow
1 parent f729a50 commit e7b9f63

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/hugo.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
env:
35-
HUGO_VERSION: 0.121.0
35+
HUGO_VERSION: 0.160.0
3636
steps:
3737
- name: Install Hugo CLI
3838
run: |
@@ -41,13 +41,13 @@ jobs:
4141
- name: Install Dart Sass
4242
run: sudo snap install dart-sass
4343
- name: Checkout
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4545
with:
4646
submodules: recursive
4747
fetch-depth: 0
4848
- name: Setup Pages
4949
id: pages
50-
uses: actions/configure-pages@v4
50+
uses: actions/configure-pages@v6
5151
- name: Install Node.js dependencies
5252
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5353
- name: Build with Hugo Staging
@@ -63,7 +63,7 @@ jobs:
6363
--baseURL "${{ steps.pages.outputs.base_url }}/staging" \
6464
--destination "../../public/staging"
6565
- name: Upload artifact
66-
uses: actions/upload-pages-artifact@v2
66+
uses: actions/upload-artifact@v6
6767
with:
6868
path: ./public
6969

@@ -77,5 +77,4 @@ jobs:
7777
steps:
7878
- name: Deploy to GitHub Pages
7979
id: deployment
80-
uses: actions/deploy-pages@v3
81-
80+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)