Skip to content

update the model client #27

update the model client

update the model client #27

Workflow file for this run

name: Documentation
on:
push:
branches:
- xiaoyi_doc
workflow_dispatch:
permissions:
contents: write
actions: read
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r ./docs/requirements.txt
pip freeze # Display installed packages for debugging
- name: Build documentation
run: |
sphinx-build -b html docs/source/ docs/build/
ls -l docs/build/ # List output files for debugging
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: docs/build/
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com