File tree Expand file tree Collapse file tree 4 files changed +3272
-71
lines changed Expand file tree Collapse file tree 4 files changed +3272
-71
lines changed Original file line number Diff line number Diff line change 1+ name : Generate Documentation
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ docs :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Install Doxygen
18+ run : sudo apt-get update && sudo apt-get install -y doxygen graphviz
19+
20+ - name : Generate Documentation
21+ run : doxygen Doxyfile
22+
23+ - name : Upload Documentation Artifacts
24+ uses : actions/upload-artifact@v4
25+ with :
26+ name : documentation
27+ path : docs/html/
28+ retention-days : 30
29+
30+ - name : Deploy to GitHub Pages
31+ if : github.ref == 'refs/heads/main' && github.event_name == 'push'
32+ uses : peaceiris/actions-gh-pages@v3
33+ with :
34+ github_token : ${{ secrets.GITHUB_TOKEN }}
35+ publish_dir : ./docs/html
36+ force_orphan : true
Original file line number Diff line number Diff line change @@ -57,3 +57,6 @@ build*/
5757output /
5858Testing /
5959.DS_Store
60+
61+ # Doxygen generated documentation
62+ docs /
You can’t perform that action at this time.
0 commit comments