Skip to content

Total rework of doc files to ease maintenance #4

Total rework of doc files to ease maintenance

Total rework of doc files to ease maintenance #4

name: Build documentation
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: >
sudo apt-get update && sudo apt-get install -y doxygen
- name: Configure CMake
run: >
cmake -B . -D BUILD_DOCS=ON -D BUILD_DEMOS=OFF -S ${{ github.workspace
}}
- name: Build docs
run: cmake --build docs
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html