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 : Generate and deploy Doxygen documents
1+ name : Deploy Doxygen Docs
22
33on :
44 push :
55 branches :
6- - features/docs-update
6+ - main
7+
8+ permissions :
9+ contents : write
710
811jobs :
9- build :
10- permissions :
11- contents : write
12- runs-on :
13- ubuntu-latest
12+ deploy :
13+ runs-on : ubuntu-latest
14+
1415 steps :
15- - name : Checkout repository
16- uses : actions/checkout@v3
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Setup .NET
20+ uses : actions/setup-dotnet@v4
21+ with :
22+ dotnet-version : ' 9.0.x'
1723
18- - name : Install Doxygen
19- run : sudo apt-get update && sudo apt-get install doxygen -y doxygen graphviz
24+ - name : Build Project
25+ run : dotnet build --configuration Release
2026
21- - name : Generate documentation
22- run : doxygen Doxyfile
27+ - name : Install Doxygen and Graphviz
28+ run : sudo apt-get update && sudo apt-get install -y doxygen graphviz
2329
24- - name : Create .nojekyll file
25- run : touch ./docs/html/.nojekyll
30+ - name : Run Doxygen
31+ run : doxygen Doxyfile
2632
2733 - name : Deploy to GitHub Pages
28- uses : peaceiris/actions-gh-pages@v4
34+ uses : peaceiris/actions-gh-pages@v3
2935 with :
3036 github_token : ${{ secrets.GITHUB_TOKEN }}
31- publish_dir : ./docs/ html
37+ publish_dir : ./html
You can’t perform that action at this time.
0 commit comments