name: "Docs / Build PR" # For more information, # see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows permissions: contents: read env: FLAG: ${{ github.repository == 'scylladb/scylla-enterprise' && 'enterprise' || 'opensource' }} FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true on: pull_request: branches: - master - enterprise paths: - "docs/**" - "db/config.hh" - "db/config.cc" jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.12" - name: Install uv uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 - name: Set up env run: make -C docs FLAG="${{ env.FLAG }}" setupenv - name: Build docs run: make -C docs FLAG="${{ env.FLAG }}" test