Skip to content

Remove whitespace around python version #13

Remove whitespace around python version

Remove whitespace around python version #13

Workflow file for this run

name: sphinx
on: push
env:
POETRY_VERSION: "1.3.1"
PYTHON_VERSION: "3.9.18"
jobs:
build-docs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${env.PYTHON_VERSION}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: install
run: poetry install --extras docs
- name: Build documentation
run: |
mkdir gh-pages
touch gh-pages/.nojekyll
cd doc/
poetry run sphinx-build -b html . _build
cp -r _build/* ../gh-pages/
- name: Deploy documentation
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: gh-pages