Skip to content

Tryout Python 3.12 #791

Tryout Python 3.12

Tryout Python 3.12 #791

Workflow file for this run

name: Build sphinx documentation website
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[develop]
- name: Build documentation
run: |
python setup.py build_sphinx
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/sphinx/html
if: github.event_name == 'push'