File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Doxygen Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : pages
16+ cancel-in-progress : true
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+
26+ - name : Install documentation dependencies
27+ run : |
28+ sudo apt-get update
29+ sudo apt-get install -y \
30+ doxygen \
31+ graphviz
32+
33+ - name : Build Doxygen site
34+ run : |
35+ doxygen Doxyfile
36+
37+ - name : Upload Pages artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : build/docs-doxygen/html
41+
42+ deploy :
43+ needs : build
44+ runs-on : ubuntu-latest
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+
49+ steps :
50+ - name : Deploy to GitHub Pages
51+ id : deployment
52+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments