Skip to content

update dependencies #15

update dependencies

update dependencies #15

Workflow file for this run

name: Documentation
on:
push:
branches:
- xiaoyi_doc
workflow_dispatch:
permissions: # This sets permissions for all jobs
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 -r ./docs/requirements.txt
pip install sphinx
- name: Build documentation
run: |
sphinx-build -b html ./docs/source/ ./ # Build directly into the root of the working directory
- name: Commit files
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add -A
git commit -m "Deploy documentation updates [skip ci]" || echo "No changes to commit"
git push origin HEAD:xiaoyi_doc