We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6937a commit 2cbd7faCopy full SHA for 2cbd7fa
1 file changed
.github/workflows/release-pages.yml
@@ -18,6 +18,22 @@ jobs:
18
ref: ${{ github.event.release.tag_name }}
19
fetch-depth: 0
20
21
+ - name: Verify matching versioned docs exist
22
+ shell: bash
23
+ run: |
24
+ RELEASE_TAG="${{ github.event.release.tag_name }}"
25
+ DOCS_DIR="website/versioned_docs/${RELEASE_TAG}"
26
+
27
+ if [[ ! -d "${DOCS_DIR}" ]]; then
28
+ echo "::error::Missing docs snapshot for release tag '${RELEASE_TAG}'."
29
+ echo "Expected directory: ${DOCS_DIR}"
30
+ echo "Available directories in website/versioned_docs:"
31
+ ls -1 website/versioned_docs || true
32
+ exit 1
33
+ fi
34
35
+ echo "Found matching docs directory: ${DOCS_DIR}"
36
37
- name: Use Node.js
38
uses: actions/setup-node@v4
39
with:
0 commit comments