We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efc4ec4 commit 4a79c8cCopy full SHA for 4a79c8c
.github/workflows/deploy.yml
@@ -1,10 +1,9 @@
1
-name: Deploy GitHub Pages
+name: Deploy MkDocs to GitHub Pages
2
3
on:
4
push:
5
branches:
6
- main
7
- pull_request:
8
9
jobs:
10
deploy:
@@ -24,6 +23,11 @@ jobs:
24
23
- name: Build documentation
25
run: mkdocs build --site-dir ./out
26
+ - name: Verify structure
27
+ run: |
28
+ ls -R ./out # Debug: Show built files
29
+ test -f ./out/index.html || exit 1 # Fail if no index.html
30
+
31
- name: Deploy to GitHub Pages
32
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
33
uses: peaceiris/actions-gh-pages@v3
0 commit comments