Skip to content

Commit

Permalink
GH Action: Doxygen generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gugautie committed Jan 14, 2025
1 parent 9e1bd4d commit 800af06
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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

0 comments on commit 800af06

Please sign in to comment.