Fix GitHub Pages: serve docs/ as site root
The workflow was uploading the entire repo, so the site root had no index.html (it lives in docs/). Now uploads just docs/ so the landing page and protocol docs are served at the root URL.
This commit is contained in:
@@ -36,8 +36,8 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
# Upload entire repository
|
||||
path: '.'
|
||||
# Upload docs directory as site root
|
||||
path: 'docs'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user