File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
2- name : Deploy static content to Pages
1+ name : Build and Deploy Doxygen Docs
32
43on :
5- # Runs on pushes targeting the default branch
64 push :
75 branches : ["main"]
8-
9- # Allows you to run this workflow manually from the Actions tab
106 workflow_dispatch :
117
12- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138permissions :
149 contents : read
1510 pages : write
1611 id-token : write
1712
18- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2013concurrency :
2114 group : " pages"
2215 cancel-in-progress : false
2316
2417jobs :
25- # Single deploy job since we're just deploying
2618 deploy :
19+ runs-on : ubuntu-latest
2720 environment :
2821 name : github-pages
2922 url : ${{ steps.deployment.outputs.page_url }}
30- runs-on : ubuntu-latest
3123 steps :
3224 - name : Checkout
3325 uses : actions/checkout@v4
26+
27+ - name : Install Doxygen
28+ run : sudo apt-get update && sudo apt-get install -y doxygen graphviz
29+
30+ - name : Build Doxygen documentation
31+ run : |
32+ doxygen Doxyfile
33+ # Adjust if your Doxyfile isn't in the repo root, e.g.:
34+ # run: cd docs && doxygen Doxyfile
35+
3436 - name : Setup Pages
3537 uses : actions/configure-pages@v5
38+
3639 - name : Upload artifact
3740 uses : actions/upload-pages-artifact@v3
3841 with :
39- # Upload entire repository
4042 path : ' ./docs/html'
43+
4144 - name : Deploy to GitHub Pages
4245 id : deployment
4346 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments