Omit Insiders-only plugin when building docs on CI (#8652)

This commit is contained in:
Charlie Marsh 2023-11-13 07:24:58 -08:00 committed by GitHub
parent 5ba852a878
commit 6a6de53722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -44,7 +44,7 @@ jobs:
run: mkdocs build --strict -f mkdocs.insiders.yml
- name: "Build docs"
if: ${{ env.MKDOCS_INSIDERS_SSH_KEY_EXISTS != 'true' }}
run: mkdocs build --strict -f mkdocs.generated.yml
run: mkdocs build --strict -f mkdocs.public.yml
- name: "Deploy to Cloudflare Pages"
if: ${{ env.CF_API_TOKEN_EXISTS == 'true' }}
uses: cloudflare/wrangler-action@v3.3.2

4
mkdocs.public.yml Normal file
View file

@ -0,0 +1,4 @@
INHERIT: mkdocs.generated.yml
# Omit the `typeset` plugin which is only available in the Insiders version.
plugins:
- search