File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 :
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
You can’t perform that action at this time.
0 commit comments