Commit db300dd 1 parent 1724dce commit db300dd Copy full SHA for db300dd
File tree 1 file changed +21
-5
lines changed
1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 35
35
- name : Build Documentation
36
36
run : |
37
37
cd docs
38
- sphinx-build -b html . _build/html -v -w /tmp/sphinx-log
39
- cat /tmp/sphinx-log
38
+ make html
39
+ echo "Contents of _build/html directory:"
40
+ ls -R _build/html
40
41
continue-on-error : true
42
+
43
+ - name : Debug Build Output
44
+ if : always()
45
+ run : |
46
+ echo "Current directory:"
47
+ pwd
48
+ echo "Contents of docs/_build directory:"
49
+ ls -R docs/_build
41
50
42
51
- name : Display Sphinx build log
43
52
if : failure()
48
57
ls -R docs/_build/html
49
58
50
59
- name : Deploy to GitHub Pages
51
- uses : peaceiris/actions-gh- pages@v3
60
+ uses : JamesIves/github- pages-deploy-action@v4
52
61
with :
53
- github_token : ${{ secrets.GITHUB_TOKEN }}
54
- publish_dir : ./docs/_build/html
62
+ folder : docs/_build/html
63
+ clean : true # Removes existing files from the branch, ensuring a clean slate
64
+ clean-exclude : |
65
+ .nojekyll
66
+
67
+ - name : Add .nojekyll file
68
+ run : |
69
+ cd docs/_build/html
70
+ touch .nojekyll
You can’t perform that action at this time.
0 commit comments