Skip to content

Fix doxygen

Fix doxygen #5

Workflow file for this run

name: doxygen
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install doxygen
run: sudo apt install -y doxygen
- name: Build doxygen
run: |
mkdir -p build
cd build
cmake -DCS2SDK_BUILD_DOCS=ON ..
cmake --build . --target docs -- -j
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: build/docs/html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2