summaryrefslogtreecommitdiff
path: root/.github/workflows/doxygen.yml
blob: cac9ed8e546c1af3cecf5729496c5fea58f7a3e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate Doxygen Static Site
on:
  push:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      pages: write
      id-token: write
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
    - name: Checkout
      uses: actions/checkout@v4
    - name: Run Doxygen
      uses: mattnotmitt/doxygen-action@v1
      with:
        doxyfile-path: Doxyfile
    - name: Upload static files as artifact
      uses: actions/upload-pages-artifact@v3
      with:
        path: docs/doxygen/html/
    - name: Deploy to GitHub Pages
      uses: actions/deploy-pages@v4
      id: deployment