Skip to content

Bump furo from 2023.5.20 to 2023.7.26 (#459) #3

Bump furo from 2023.5.20 to 2023.7.26 (#459)

Bump furo from 2023.5.20 to 2023.7.26 (#459) #3

Workflow file for this run

name: build-docs
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Install pandoc
run: sudo apt-get install pandoc
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[strict,docs]
- name: Build
run: sphinx-build docs docs_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs_build/