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