Skip to content

Commit d4485c6

Browse files
committed
Fix GitHub Pages deployment to serve from docs folder
- Update static.yml to deploy only docs folder instead of entire repo - Update pages.yml workflow to generate and commit HTML report - Fix 404 error by ensuring correct path deployment
1 parent 17677d0 commit d4485c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: Upload artifact
3737
uses: actions/upload-pages-artifact@v3
3838
with:
39-
# Upload entire repository
40-
path: '.'
39+
# Upload docs folder for GitHub Pages
40+
path: './docs'
4141
- name: Deploy to GitHub Pages
4242
id: deployment
4343
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)