Skip to content

chore: upgrade actions #22

chore: upgrade actions

chore: upgrade actions #22

Workflow file for this run

name: Build documentation
on:
push:
branches: [master]
# Environment
env:
PYTHON_VERSION: 3.10
jobs:
# Build and deploy documentation site
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source form GitHub
uses: actions/checkout@v5
- name: Install poetry
run: pipx install poetry
- name: Install Python runtime and dependencies
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry install
- name: Deploy
run: |
poetry run mkdocs gh-deploy --force