Skip to content

Commit 4003bed

Browse files
committed
Update deployment
1 parent 9b27d13 commit 4003bed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/gh-pages.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ permissions:
55
on:
66
push:
77
branches:
8-
- main # Set a branch to deploy
8+
- main # Set a branch to deploy
99
pull_request:
1010

1111
jobs:
1212
deploy:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
steps:
1717
- uses: actions/checkout@v3
1818
with:
19-
submodules: true # Fetch Hugo themes (true OR recursive)
20-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
19+
submodules: true # Fetch Hugo themes (true OR recursive)
20+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2121

2222
- name: Setup Hugo
2323
uses: peaceiris/actions-hugo@v2
2424
with:
25-
hugo-version: '0.110.0'
25+
hugo-version: "0.152.1"
2626
# extended: true
2727

2828
- name: Build
2929
run: hugo --minify
3030

3131
- name: Deploy
32-
uses: peaceiris/actions-gh-pages@v3
32+
uses: peaceiris/actions-gh-pages@v4
3333
if: ${{ github.ref == 'refs/heads/main' }}
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)