Skip to content

Commit 332e5e3

Browse files
docs: fix GitHub pagse workflow
1 parent 1485774 commit 332e5e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pages.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build:
3232
runs-on: ubuntu-latest
3333
env:
34-
HUGO_VERSION: 0.146.5
34+
HUGO_VERSION: 0.147.8
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v4
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup Go
4242
uses: actions/setup-go@v5
4343
with:
44-
go-version: '1.22'
44+
go-version: '1.24.4'
4545
- name: Setup Pages
4646
id: pages
4747
uses: actions/configure-pages@v5
@@ -55,13 +55,13 @@ jobs:
5555
HUGO_ENVIRONMENT: production
5656
HUGO_ENV: production
5757
run: |
58-
hugo \
58+
hugo build --source docs \
5959
--gc --minify \
6060
--baseURL "${{ steps.pages.outputs.base_url }}/"
6161
- name: Upload artifact
6262
uses: actions/upload-pages-artifact@v3
6363
with:
64-
path: ./public
64+
path: docs/public
6565

6666
# Deployment job
6767
deploy:

0 commit comments

Comments
 (0)