Doxygen Auto Build and Deploy (#417)

* add Doxygen build and Github Pages deploy workflow

* Fixed typo in Workflow

* Rename docs.yml

* Rename doxygen_ci_workflow.yml
This commit is contained in:
Elliot Tester
2026-04-01 17:26:32 -07:00
committed by GitHub
parent f46395b9d0
commit 12ec71ba2c
@@ -0,0 +1,32 @@
name: Build and Deploy Doxygen Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Doxygen
run: sudo apt-get install -y doxygen graphviz
- name: Build Doxygen documentation
run: doxygen Doxyfile
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/html
publish_branch: gh-pages