feat(cli): add iohub compute-pyramid command #231
Workflow file for this run
This file contains hidden or 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: 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 |