docs: add docs workflow

This commit is contained in:
parker
2025-06-29 15:26:52 +01:00
parent 75889c3b87
commit c067514c7f

24
.github/workflows/doxygen.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Build & Deploy Doxygen
on:
push:
branches: [ main ]
jobs:
doxygen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Doxygen
run: sudo apt-get update && sudo apt-get install -y doxygen
- name: Build docs
run: |
doxygen Doxyfile
# ensure nojekyll so assets like underscore-files arent ignored
touch .nojekyll
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html
publish_branch: gh-pages