Skip to content

Commit e7471ec

Browse files
committed
Install GNU Tar
1 parent 9067cd1 commit e7471ec

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
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:

0 commit comments

Comments
 (0)