File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 with :
3030 submodules : recursive
3131 fetch-depth : 0
32+
3233 - name : Setup Pages
3334 id : pages
3435 uses : actions/configure-pages@v5
36+
3537 - name : Cache restore
3638 id : cache-restore
3739 uses : actions/cache/restore@v5
@@ -40,19 +42,27 @@ jobs:
4042 key : hugo-${{ github.run_id }}
4143 restore-keys :
4244 hugo-
45+
4346 - name : Build the site
4447 run : |
4548 hugo \
4649 --gc \
4750 --minify \
4851 --baseURL "${{ steps.pages.outputs.base_url }}/" \
4952 --cacheDir "${{ runner.temp }}/hugo_cache"
53+
5054 - name : Cache save
5155 id : cache-save
5256 uses : actions/cache/save@v5
5357 with :
5458 path : ${{ runner.temp }}/hugo_cache
5559 key : ${{ steps.cache-restore.outputs.cache-primary-key }}
60+
61+ # This is necessary to upload artifacts
62+ - name : Install GNU Tar
63+ run : |
64+ apk add tar
65+
5666 - name : Upload artifact
5767 uses : actions/upload-pages-artifact@v4
5868 with :
You can’t perform that action at this time.
0 commit comments