Skip to content

pydantic version of genome_annotation model (genome_annotation.py) wa… #12

pydantic version of genome_annotation model (genome_annotation.py) wa…

pydantic version of genome_annotation model (genome_annotation.py) wa… #12

name: Publish bkbit Documentation
on:
push:
branches:
- main
- create_docs_20241003
jobs:
publish_bkbit_docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -e .
pip install sphinx sphinx_rtd_theme
pip install m2r
- name: Sphinx build
run: |
sphinx-apidoc -o docs bkbit --separate
sphinx-build docs docs/_build/html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
force_orphan: true