Skip to content

Merge branch 'master' of github.com:TuftsBCB/RegDiffusion #18

Merge branch 'master' of github.com:TuftsBCB/RegDiffusion

Merge branch 'master' of github.com:TuftsBCB/RegDiffusion #18

Workflow file for this run

name: Build and Deploy Sphinx Documentation
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_book_theme sphinx myst-parser sphinx-copybutton --upgrade
pip install numpy
pip install pandas
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install tqdm
pip install scanpy
pip install scikit-learn
pip install h5py
pip install pyvis
- name: Build documentation
run: |
sphinx-apidoc -o docs regdiffusion/
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html