summaryrefslogtreecommitdiffstats
path: root/.github/workflows/doxygen.yml
blob: 85ef454ae2682b03f333a8fbf8821616236a9e6f (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: Documentation

on:
  push:
    branches: [ master ]

jobs:
  build-documentation:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3

    - name: Doxygen Action
      uses: mattnotmitt/doxygen-action@1.9.5
      with:
          doxyfile-path: './Doxyfile'
          working-directory: 'docs/'
    
    - name: GH Pages Deployment
      uses: peaceiris/actions-gh-pages@v3
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        publish_dir: './docs/html/'
        enable_jekyll: false
        allow_empty_commit: false
        force_orphan: true
        publish_branch: gh-pages