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 : Doxygen GitHub Pages Deploy Action
1+ name : Deploy Doxygen docs
22
33on :
44 push :
5- branches :
6- - master
5+ branches : [master]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
715
816jobs :
9- deploy :
17+ build :
1018 runs-on : ubuntu-latest
11- permissions :
12- contents : write
19+
1320 steps :
14- - name : Create docs directory
21+ - uses : actions/checkout@v4
22+
23+ - name : Install Doxygen
24+ run : sudo apt-get update && sudo apt-get install -y doxygen graphviz
25+
26+ - name : Create output directory
1527 run : mkdir -p build/docs
16- - uses : DenverCoder1/doxygen-github-pages-action@v2.0.0
28+
29+ - name : Generate docs
30+ run : doxygen docs/Doxyfile
31+
32+ - name : Disable Jekyll
33+ run : touch build/docs/html/.nojekyll
34+
35+ - name : Upload Pages artifact
36+ uses : actions/upload-pages-artifact@v3
1737 with :
18- github_token : ${{ secrets.GITHUB_TOKEN }}
19- folder : build/docs/html
20- config_file : docs/Doxyfile
38+ path : build/docs/html
39+
40+ deploy :
41+ environment :
42+ name : github-pages
43+ url : ${{ steps.deployment.outputs.page_url }}
44+ runs-on : ubuntu-latest
45+ needs : build
46+
47+ steps :
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments