Skip to content

refactor: Updated code to Pydantic 2.0 (get rid of deprecation warnings) #313

refactor: Updated code to Pydantic 2.0 (get rid of deprecation warnings)

refactor: Updated code to Pydantic 2.0 (get rid of deprecation warnings) #313

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-in-project: true
virtualenvs-create: true
- name: Install Dependencies
run: |
poetry install --only dev
- name: Build docs
run: |
poetry run mkdocs build
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/