Update documents #7
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: docs | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: apt | |
run: sudo apt install doxygen graphviz | |
shell: bash | |
- name: Generate Doxygen Documentation | |
working-directory: ${{ github.workspace }}/doc/doxygen | |
run: doxygen Doxyfile | |
shell: bash | |
- name: Create .nojekyll (ensures pages with underscores work on gh pages) | |
run: touch ${{ github.workspace }}/doc/doxygen/html/.nojekyll | |
shell: bash | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "gh-pages" | |
folder: ${{ github.workspace }}/doc/doxygen/html |