Skip to content

Commit 2f5f0c9

Browse files
committed
Fix upload
1 parent 4849dd8 commit 2f5f0c9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ jobs:
3737
run: pnpm run build
3838
- name: Setup Pages
3939
uses: actions/configure-pages@v5
40+
- name: Prepare upload directory
41+
run: |
42+
mkdir -p upload
43+
cp index.html upload/
44+
cp -r dist upload/
4045
- name: Upload artifact
4146
uses: actions/upload-pages-artifact@v3
4247
with:
43-
# Only upload index.html and dist/
44-
path: |
45-
index.html
46-
dist
48+
path: upload
4749
- name: Deploy to GitHub Pages
4850
id: deployment
4951
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)