alpha bump #96
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: Build Docs | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| python-version: "3.12" | |
| - name: Install project | |
| run: uv sync --group docs | |
| - name: Run quartodoc build | |
| run: | | |
| cd docs | |
| uv run quartodoc build | |
| uv run python objects.py | |
| uv run quartodoc interlinks | |
| - name: Setup quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| - name: Load cached quarto freeze | |
| id: cached-quarto-freeze | |
| uses: actions/cache@v3 | |
| with: | |
| path: docs/_freeze | |
| key: ${{ runner.os }}-freeze | |
| - name: Render and publush to gh-pages | |
| run: | | |
| git config --global user.email "quarto-github-actions-publish@example.com" | |
| git config --global user.name "Quarto GHA Workflow Runner" | |
| uv run quarto publish gh-pages docs --no-browser |