Skip to content

OPT: add Python 3.12 πŸ§‘β€πŸ’» #114

OPT: add Python 3.12 πŸ§‘β€πŸ’»

OPT: add Python 3.12 πŸ§‘β€πŸ’» #114

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: "πŸ“₯ Checkout"
with:
fetch-depth: 0
- name: "✨ Install Poetry"
run: pipx install poetry
- uses: actions/setup-python@v4
name: "✨ Set up Python"
id: "setup-python"
with:
python-version: 3.x
cache: poetry
- name: "πŸ“₯ Install dependencies"
run: poetry install --no-root --with=docs
- name: "πŸ“¦ Build"
run: make docs
- name: "πŸ“€ Upload"
uses: actions/upload-pages-artifact@v2
deploy:
name: "Deploy"
runs-on: ubuntu-latest
needs: "build"
if: github.event_name == 'push'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "✨ Deploy"
uses: actions/deploy-pages@v2