Skip to content

feat: provider extension points, ProviderFulfilment contract, auth security fixes #1580

feat: provider extension points, ProviderFulfilment contract, auth security fixes

feat: provider extension points, ProviderFulfilment contract, auth security fixes #1580

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'src/**/cli/**'
- 'README.md'
- '*.md'
- 'pyproject.toml'
- '.github/workflows/docs.yml'
workflow_run:
workflows: ["Quality Checks", "Unit Tests"]
types: [completed]
branches: [main]
pull_request:
branches: [main]
paths:
- 'docs/**'
- 'src/**/cli/**'
- 'README.md'
- '*.md'
- 'pyproject.toml'
workflow_dispatch:
permissions:
contents: read
pages: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
config:
name: Get Configuration
runs-on: ubuntu-latest
outputs:
default-python-version: ${{ steps.config.outputs.default-python-version }}
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Get project configuration
id: config
uses: ./.github/actions/get-config
setup-cache:
name: Setup Cache
needs: config
uses: ./.github/workflows/cache-management.yml
with:
cache-type: dependencies
cache-key-base: docs-deps
python-version: ${{ needs.config.outputs.default-python-version }}
build:
needs: [config, setup-cache]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Setup Python and UV
uses: ./.github/actions/setup-uv-cached
with:
cache-key: ${{ needs.setup-cache.outputs.cache-key }}
fail-on-cache-miss: false
- name: Build documentation
run: |
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
# Build and deploy locally with mike (no push to remote)
make ci-docs-build-for-pages
else
# Build for PRs (validation only)
make ci-docs-build
fi
- name: Upload Pages artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
with:
path: docs/site
deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5