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: Generate and Deploy Doxygen for C++ and Python Code | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
doxygen_generation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Generate Doxygen for C++ | |
uses: mattnotmitt/doxygen-action@v1 | |
with: | |
doxyfile-path: ".github/Doxyfile-cpp" | |
- name: Generate Doxygen for Python | |
uses: mattnotmitt/doxygen-action@v1 | |
with: | |
doxyfile-path: ".github/Doxyfile-python" | |
- name: Deploy Doxygen page | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: docs |