Skip to content

chore: upgrade version to 0.11.1 #23

chore: upgrade version to 0.11.1

chore: upgrade version to 0.11.1 #23

Workflow file for this run

name: doc
on:
push:
branches:
- main
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'poetry'
- run: poetry install --extras "doc"
- run: poetry run python ./doc/build-doc.py
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './doc/build/html'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4