Skip to content

Commit f02a888

Browse files
committed
CI: update hugo version and actions
1 parent c5d5275 commit f02a888

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/hugo.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
env:
35-
HUGO_VERSION: 0.115.4
35+
HUGO_VERSION: 0.151.1
3636
steps:
3737
- name: Install Hugo CLI
3838
run: |
39-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
4040
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
4141
- name: Install Dart Sass
4242
run: sudo snap install dart-sass
4343
- name: Checkout
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v5
4545
with:
4646
submodules: recursive
4747
fetch-depth: 0
4848
- name: Setup Pages
4949
id: pages
50-
uses: actions/configure-pages@v3
50+
uses: actions/configure-pages@v5
5151
- name: Install Node.js dependencies
5252
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5353
- name: Build with Hugo
@@ -61,7 +61,7 @@ jobs:
6161
--minify \
6262
--baseURL "${{ steps.pages.outputs.base_url }}/"
6363
- name: Upload artifact
64-
uses: actions/upload-pages-artifact@v1
64+
uses: actions/upload-pages-artifact@v4
6565
with:
6666
path: ./public
6767

@@ -75,4 +75,4 @@ jobs:
7575
steps:
7676
- name: Deploy to GitHub Pages
7777
id: deployment
78-
uses: actions/deploy-pages@v2
78+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)