fix: union typing fix for old py #82
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: docs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ASDF Parse | |
uses: kota65535/github-asdf-parse-action@v1.1.0 | |
id: versions | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "${{ steps.versions.outputs.python }}" | |
architecture: x64 | |
- uses: abatilo/actions-poetry@v3.0.0 | |
with: | |
poetry-version: "${{ steps.versions.outputs.poetry }}" | |
- run: poetry install --extras all | |
- run: poetry run mkdocs build | |
- uses: peaceiris/actions-gh-pages@v3.9.3 | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
publish_dir: ./site |