Skip to content

Commit 77a4e2f

Browse files
committed
chore: update workflow
Signed-off-by: Devin Buhl <[email protected]>
1 parent 78d6287 commit 77a4e2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,16 @@ jobs:
3333
- name: Build with Hugo
3434
uses: docker://ghcr.io/gohugoio/hugo:v0.150.0
3535
env:
36-
HUGO_CACHEDIR: /github/workspace/.hugo_cache
36+
HUGO_CACHEDIR: /github/workspace
3737
HUGO_ENVIRONMENT: production
3838
HUGO_BASE_URL: ${{ steps.pages.outputs.base_url }}
3939
with:
4040
args: >-
41+
--baseURL "${HUGO_BASE_URL}/"
42+
--destination /github/workspace/public
4143
--gc
4244
--minify
4345
--noBuildLock
44-
--baseURL "${HUGO_BASE_URL}/"
4546
4647
- name: Upload artifact
4748
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0

0 commit comments

Comments
 (0)