update the basic usage notebook #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docs | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
jobs: | |
deploy: | |
name: Deploy Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache-dependency-path: "pyproject.toml" | |
cache: "pip" | |
- name: Download Dataset from Zenodo | |
run: | | |
mkdir -p data | |
wget -O data/dataset.zip https://zenodo.org/records/13305156/files/20200812-CardiomyocyteDifferentiation14-Cycle1.zarr.zip?download=1? | |
unzip -o data/dataset.zip -d data | |
- name: Download Dataset from Zenodo MIP | |
run: | | |
mkdir -p data | |
wget -O data/dataset.zip https://zenodo.org/records/13305316/files/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr.zip?download=1? | |
unzip -o data/dataset.zip -d data | |
- name: Install Dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install .[dev2] | |
python -m pip install .[docs] | |
- name: 📚 Build Docs | |
run: mkdocs build --clean | |
# If something goes wrong with --pre tests, we can open an issue in the repo | |
- name: Deploy Docs | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site |