Skip to content

feat: read Bioformats2raw (#414) #236

feat: read Bioformats2raw (#414)

feat: read Bioformats2raw (#414) #236

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
permissions:
contents: write
jobs:
# Verify docs build cleanly on PRs
build:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.13"
enable-cache: true
- run: uv sync --group doc
- run: uv run zensical build --clean
deploy:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.13"
enable-cache: true
- run: uv sync --group doc
- run: git config user.name "github-actions[bot]"
- run: git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Deploy dev docs
if: github.ref == 'refs/heads/main'
run: uv run mike deploy --push dev
- name: Deploy release docs
if: startsWith(github.ref, 'refs/tags/v')
run: uv run mike deploy --push --update-aliases "${GITHUB_REF_NAME#v}" stable
- name: Set default to stable
if: startsWith(github.ref, 'refs/tags/v')
run: uv run mike set-default --push stable