Bump actions/checkout from 4 to 5 #59
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
| # Simple workflow for deploying static content to GitHub Pages | |
| name: Build docs | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build_docs: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| PUBLISH_DIR: ./_build/html | |
| steps: | |
| # checkout the repository | |
| - uses: actions/checkout@v5 | |
| # setup Python | |
| - name: Install Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install the project | |
| run: uv sync --extra docs | |
| - name: Build docs | |
| run: uv run jupyter book build . | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: documentation | |
| path: ${{ env.PUBLISH_DIR }} |