1 parent 87e3e20 commit ec5f95aCopy full SHA for ec5f95a
1 file changed
.github/workflows/pages.yml
@@ -43,10 +43,24 @@ jobs:
43
cp -R output/. .dist/output/
44
fi
45
46
+ - name: Archive Pages artifact
47
+ run: |
48
+ tar \
49
+ --dereference --hard-dereference \
50
+ --directory .dist \
51
+ -cvf "$RUNNER_TEMP/artifact.tar" \
52
+ --exclude=.git \
53
+ --exclude=.github \
54
+ --exclude=".[^/]*" \
55
+ .
56
+
57
- name: Upload Pages artifact
- uses: actions/upload-pages-artifact@v4
58
+ uses: actions/upload-artifact@v7
59
with:
- path: .dist
60
+ name: github-pages
61
+ path: ${{ runner.temp }}/artifact.tar
62
+ retention-days: 1
63
+ if-no-files-found: error
64
65
- name: Deploy to GitHub Pages
66
id: deployment
0 commit comments