Skip to content

fix: ensure that load_from_pretrained config typing is correct #262

fix: ensure that load_from_pretrained config typing is correct

fix: ensure that load_from_pretrained config typing is correct #262

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
paths-ignore:
- '.vscode/**'
- '.gitignore'
pull_request:
branches:
- main
paths-ignore:
- '.vscode/**'
- '.gitignore'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Poetry
run: pip install poetry
- name: Install Dependencies
run: poetry install --no-root
- name: Deploy website
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run mkdocs gh-deploy --force