Skip to content

Commit 9350a0a

Browse files
committed
chore: update workflow
Signed-off-by: Devin Buhl <[email protected]>
1 parent 2dc246a commit 9350a0a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
3131
id: pages
3232

33-
- run: mkdir -p ./public && chmod 777 ./public
33+
- run: |-
34+
mkdir -p ./cache && chmod 777 ./cache
35+
mkdir -p ./public && chmod 777 ./public
3436
3537
- name: Build with Hugo
3638
uses: docker://ghcr.io/gohugoio/hugo:v0.150.0
3739
env:
38-
HUGO_CACHEDIR: /github/workspace
40+
HUGO_CACHEDIR: /github/workspace/cache
3941
HUGO_ENVIRONMENT: production
4042
HUGO_BASE_URL: ${{ steps.pages.outputs.base_url }}
4143
with:
@@ -45,6 +47,8 @@ jobs:
4547
--gc
4648
--minify
4749
--noBuildLock
50+
--noChmod
51+
--noTimes
4852
4953
- name: Upload artifact
5054
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0

0 commit comments

Comments
 (0)