diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/doxygen.yml | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index bdd9c9c..85ef454 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -1,4 +1,28 @@ -- name: Doxygen Action - uses: mattnotmitt/doxygen-action@1.9.5 - working-directory: docs - doxyfile-path: 'Doxyfile' +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 |