Skip to content

Commit 164dcee

Browse files
Update deploy.yml
1 parent 1951208 commit 164dcee

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,9 @@ jobs:
4242
npm install
4343
npm run build
4444
45-
- name: Validate artifact 📦
46-
run: |
47-
if find ./docs/.vitepress/dist -type l | read; then
48-
echo "Error: Artifact contains symlinks" >&2
49-
exit 1
50-
fi
51-
if [ $(du -s ./docs/.vitepress/dist | cut -f1) -gt 10485760 ]; then
52-
echo "Error: Artifact size exceeds 10GB" >&2
53-
exit 1
54-
fi
55-
5645
- name: Upload artifact ⬆️
57-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-pages-artifact@v3
5847
with:
59-
name: 'github-pages'
6048
path: './docs/.vitepress/dist'
6149

6250
- name: Deploy to GitHub Pages 🚀

0 commit comments

Comments
 (0)