Auto pre-commit update (#31) #63
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 GitHub Pages Deploy Action | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Install Doxygen | |
run: sudo apt-get install doxygen -y | |
- name: Configure | |
run: cmake . -DKALEIDOSCOPE_ENABLE_DOCS=1 | |
- name: Generate Doxygen Documentation | |
run: cmake --build . --target docs | |
- name: Create .nojekyll (ensures pages with underscores work on gh pages) | |
run: touch doc/html/.nojekyll | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: doc/html |