Fix broken sample code in README.md and Tutorial.md #80
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: Deploy Doxygen documentation on Github Pages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Doxygen (v1.9.7) | |
uses: ssciwr/doxygen-install@v1 | |
with: | |
version: "1.9.7" | |
- name: Install graphviz | |
run: sudo apt-get install graphviz -y | |
shell: bash | |
- name: Generate Doxygen Documentation | |
run: doxygen Doxyfile | |
shell: bash | |
- name: Create .nojekyll (ensures pages with underscores work on gh pages) | |
run: touch doc/build/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: doc/build/html |