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;