File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ permissions :
9+ contents : write
10+
811jobs :
912 build :
1013 runs-on : ubuntu-latest
1922 - name : Run Doxygen
2023 run : doxygen Doxyfile
2124
25+ - name : Verify Doxygen output
26+ run : ls -la docs/doxygen/
27+
2228 - name : Deploy to GitHub Pages
2329 uses : peaceiris/actions-gh-pages@v3
2430 with :
2834 user_name : ' github-actions[bot]'
2935 user_email : ' github-actions[bot]@users.noreply.github.com'
3036 commit_message : ' Update Doxygen documentation'
31- keep_files : false # DON'T keep previous files
32- force_orphan : true # Optional: force orphan branch for fresh history
33- enable_jekyll : false # No Jekyll on gh-pages
34-
35- - name : Enable GitHub Pages via API
36- env :
37- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38- run : |
39- curl -X POST \
40- -H "Authorization: token $GITHUB_TOKEN" \
41- -H "Accept: application/vnd.github.v3+json" \
42- https://api.github.com/repos/${{ github.repository }}/pages \
43- -d '{"source":{"branch":"gh-pages","path":"/"}}'
37+ keep_files : false
38+ force_orphan : true
39+ enable_jekyll : false
You can’t perform that action at this time.
0 commit comments