Skip to content

Commit e7df783

Browse files
committed
Restore official Pages artifact upload
1 parent 29246ea commit e7df783

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,10 @@ jobs:
4343
- name: Build site
4444
run: npm run build:site
4545

46-
- name: Package Pages artifact
47-
run: |
48-
tar --directory dist -cvf github-pages.tar .
49-
gzip -f github-pages.tar
50-
5146
- name: Upload Pages artifact
52-
uses: actions/upload-artifact@v7
47+
uses: actions/upload-pages-artifact@v4
5348
with:
54-
name: github-pages
55-
path: ./github-pages.tar.gz
56-
retention-days: 1
49+
path: ./dist
5750

5851
deploy:
5952
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)