From 73524d23103196c3070a73ccad4784ac7bfa54a3 Mon Sep 17 00:00:00 2001 From: kaifcodec Date: Wed, 17 Dec 2025 22:11:56 +0530 Subject: [PATCH] docs: automate syncing of v0.9 schemas to hosted site (#232) --- .github/workflows/docs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6fa94765..751b175f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,6 +23,7 @@ on: - "requirements-docs.txt" - "mkdocs.yml" - "docs/**" + - "specification/**" pull_request: branches: - main @@ -31,6 +32,7 @@ on: - "requirements-docs.txt" - "mkdocs.yml" - "docs/**" + - "specification/**" jobs: build_and_deploy: @@ -69,6 +71,11 @@ jobs: - name: Install documentation dependencies run: pip install -r requirements-docs.txt + - name: Sync Specification Schemas to Docs + run: | + mkdir -p docs/specification/0.9 + cp -r specification/0.9/json/*.json docs/specification/0.9/ + - name: Build Documentation (PR Check) if: github.event_name == 'pull_request' run: mkdocs build