Skip to content

Atomically update partial_parse.msgpack cache #752

Atomically update partial_parse.msgpack cache

Atomically update partial_parse.msgpack cache #752

Workflow file for this run

name: Build Sphinx documentation
on:
# Run this workflow when documentation sources or this workflow definition change.
push:
branches: [main]
paths:
- "docs/**"
- "cosmos/**"
- ".github/workflows/docs-build.yml"
pull_request:
branches: [main, 'release-*']
paths:
- "docs/**"
- "cosmos/**"
- ".github/workflows/docs-build.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
persist-credentials: false
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"
- name: Install documentation dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build Sphinx documentation
run: sphinx-build -b html docs docs/_build --fail-on-warning --fresh-env