Skip to content

Commit 30a7595

Browse files
Fix GitHub Pages deployment workflow
- Update upload-pages-artifact from v3 to v4 for compatibility - Add configure-pages action for proper Pages setup - Ensure artifact upload works with deploy-pages@v4 - Resolves 'No artifacts named github-pages were found' error The workflow now properly: - Configures GitHub Pages environment - Builds MkDocs documentation - Uploads Pages artifact correctly - Deploys to GitHub Pages
1 parent 8d7a219 commit 30a7595

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25+
- name: Setup Pages
26+
uses: actions/configure-pages@v4
27+
2528
- name: Set up Python
2629
uses: actions/setup-python@v4
2730
with:
@@ -37,7 +40,7 @@ jobs:
3740
mkdocs build --clean --strict
3841
3942
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
43+
uses: actions/upload-pages-artifact@v4
4144
with:
4245
path: site
4346

0 commit comments

Comments
 (0)