Bump version: 3.1.2 → 3.2.0.dev0 #189
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: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install Dependencies | |
run: | | |
pip install --upgrade pip setuptools | |
pip install .[dev] | |
- name: Generate Docs | |
env: | |
BUILD_DOCS: true | |
run: | | |
mkdir cmake_build_debug | |
cd cmake_build_debug | |
cmake .. | |
cmake --build . --target docs | |
shell: bash | |
- name: Publish Docs | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BASE_BRANCH: main | |
BRANCH: gh-pages | |
FOLDER: cmake_build_debug/docs/html |