added files for github pages documentation #9
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 Documentation | |
on: | |
push: | |
branches: | |
- main # Trigger the workflow on push to the main branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Doxygen Action | |
uses: mattnotmitt/[email protected] | |
with: | |
doxyfile-path: "./docs/Doxyfile" | |
working-directory: "." | |
- name: List Output Files | |
run: ls -R ./docs/html | |
- name: Create .nojekyll file | |
run: touch ./docs/html/.nojekyll | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
publish_dir: ./docs/html |