Remove Awesome Doxygen submodule and build documentation using CMake #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen GitHub Pages Deploy Action | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure project | |
run: cmake --preset=release | |
- name: Build documentation | |
run: cmake --build --preset=release --target docs | |
- name: GH Pages Deployment | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: build/docs/html/ | |
enable_jekyll: false | |
allow_empty_commit: false | |
force_orphan: true | |
publish_branch: gh-pages |