Update README.md #62
This file contains hidden or 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 Documentation | |
on: | |
push: | |
branches: | |
- main | |
- doc | |
pull_request: | |
branches: | |
- main | |
jobs: | |
doxygen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Doxygen | |
run: | | |
sudo apt-get install doxygen | |
- name: Generate documentation with Doxygen | |
run: doxygen Doxyfile | |
- name: Upload documentation to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.TOKEN }} | |
publish_dir: ./docs/generated/html | |
publish_branch: gh-pages | |
user_name: 'GitHub Actions' | |
user_email: 'actions@github.com' |