# Copyright Contributors to the Shapeshifter project # # SPDX-License-Identifier: Apache-2.0 name: docs-pr on: pull_request: types: [opened, synchronize, reopened] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 with: fetch-depth: 0 # checkout branch history required to update - uses: actions/setup-python@v5 with: python-version: 3.12 - uses: actions/cache@v4 with: key: ${{ github.ref }} path: .cache - name: Install Poetry and dependencies run: | pip install poetry poetry install --no-interaction - name: Create local documentation build run: poetry run mkdocs build - name: Archive reports uses: actions/upload-artifact@v4 with: name: Shapeshifter documentation build path: site/