Skip to content

GH Action: Doxygen generation #2

GH Action: Doxygen generation

GH Action: Doxygen generation #2

Workflow file for this run

name: Generate and Deploy Doxygen Documentation
on:
push:
branches:
- main
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies (CMake, Doxygen)
run: |
sudo apt-get update
sudo apt-get install -y cmake doxygen graphviz
- name: Generate Doxygen Documentation
run: |
cmake --preset=docs
cmake --build --preset=docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html