--- (#268) #295
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-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install OS dependencies | |
run: | | |
sudo apt-get install doxygen | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Install Python dependencies | |
run: | | |
pip install sphinx sphinx-rtd-theme breathe docutils | |
- name: Build docs | |
run: | | |
cd docs/src && make docs && touch ../.nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.6.1 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. | |