From 1787eb37f2d2312ea1aff8fc836b96dca7760512 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 4 Aug 2026 15:07:46 +0200 Subject: [PATCH] Add github workflow for doxygen. --- .github/workflows/doxygen.yml | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/doxygen.yml diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 0000000..34c31bf --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,50 @@ +name: Doxygen + +on: + push: + branches: [ "main" ] + # Allow running this workflow manually from the Actions tab. + workflow_dispatch: + +# Allow the job to publish to GitHub Pages. +permissions: + contents: read + pages: write + id-token: write + +# Only one concurrent deployment; skip in-progress runs queued between the run and latest queued. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Doxygen + run: | + sudo apt-get update -y -qq + sudo apt-get install -y doxygen + + - name: Generate documentation + # INPUT/OUTPUT_DIRECTORY in the Doxyfile are relative to docs/, so run there. + working-directory: docs + run: doxygen Doxyfile.in + + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: docs/out/html + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4