From fea1d28e651fa1fe2042993f31ae07ca2f363dce Mon Sep 17 00:00:00 2001 From: Paul Gottschling Date: Mon, 16 Dec 2024 14:20:41 -0500 Subject: [PATCH] Use latest Docusaurus site config schema --- .github/workflows/doc-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc-tests.yaml b/.github/workflows/doc-tests.yaml index 037d8c845c0f1..8e2feb7889dc2 100644 --- a/.github/workflows/doc-tests.yaml +++ b/.github/workflows/doc-tests.yaml @@ -101,7 +101,7 @@ jobs: # content directory. cp -r "$GITHUB_WORKSPACE/teleport" "$GITHUB_WORKSPACE/docs/content/current" cd "$GITHUB_WORKSPACE/docs" || exit 1 - jq -nr --arg version "$BRANCH" '{"versions": [{"name": $version,"branch": $version, "deprecated": false, "latest": true, "current": true }]}' > config.json + jq -nr --arg version "$BRANCH" '{"versions": [{"name": $version,"branch": $version, "deprecated": false, "isDefault": true }]}' > config.json NEW_PACKAGE_JSON=$(jq '.scripts."git-update" = "echo Skipping submodule update"' package.json); NEW_PACKAGE_JSON=$(jq '.scripts."prepare-sanity-data" = "echo Using pre-populated Sanity data"' <<< "$NEW_PACKAGE_JSON"); echo "$NEW_PACKAGE_JSON" > package.json;