docs: update pydantic docs accordingly Pydantic V2 (#1469) #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gh-pages | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install and configure Poetry | |
run: | | |
pip install -U pip poetry | |
poetry config virtualenvs.create false | |
- name: Build docs | |
run: make docs | |
- name: Deploy latest docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_dir: build/html | |
external_repository: tortoise/tortoise.github.io | |
publish_branch: main |