doc ci #2
Workflow file for this run
This file contains hidden or 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: doc | |
| on: | |
| push: | |
| branches: [ pyrev ] | |
| tags: | |
| - '*' | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| gendoc: | |
| name: Generate documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Configure Git Credentials | |
| run: | | |
| git config user.name github-actions[bot] | |
| git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
| - name : Install dependencies | |
| run: sudo apt-get install -y git cmake build-essential doxygen graphviz python3-dev python3-pip python3-pybind pybind11-dev libglm-dev libglfw3-dev libpng-dev libjpeg-dev libeigen3-dev python3-numpy python3-sphinx python3-sphinx-rtd-theme | |
| - name: Install python dependencies | |
| run: python -m pip install pybind11 mkdocs mkdocs-material | |
| - name: Generate documentation | |
| run: cd docs && make all | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: site | |
| path: ./site/* | |
| - name: Deploy documentation | |
| run: cd docs && make deploy |