Skip to content

Commit 22bd194

Browse files
committed
chore: update workflow
Signed-off-by: Devin Buhl <[email protected]>
1 parent cec2ade commit 22bd194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: Build with Hugo
3434
uses: docker://ghcr.io/gohugoio/hugo:v0.150.0
3535
env:
36-
HUGO_CACHEDIR: "."
36+
HUGO_CACHEDIR: /tmp/hugo_cache
3737
HUGO_ENVIRONMENT: production
3838
HUGO_BASE_URL: ${{ steps.pages.outputs.base_url }}
3939
with:
4040
args: >-
4141
--gc
4242
--minify
4343
--baseURL "${HUGO_BASE_URL}/"
44-
options: --user 1001:1001
44+
options: --user $(id -u):$(id -g)
4545

4646
- name: Upload artifact
4747
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0

0 commit comments

Comments
 (0)