From 6d38d42b419bb00a33b7ac34136b71ff7461326d Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 27 Aug 2024 12:35:43 -0500 Subject: [PATCH] Always run both public and private documentation checks (#6707) Avoiding failures like https://github.com/astral-sh/uv/pull/6705 Context in https://github.com/astral-sh/uv/pull/6099 ## Test plan Even though I opened the pull request, the public build was still tested. --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36f6934c3..06e68cef5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -409,18 +409,18 @@ jobs: uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.MKDOCS_INSIDERS_SSH_KEY }} - - name: "Install Insiders dependencies" + + - name: "Install dependencies (public)" + run: pip install -r docs/requirements.txt + - name: "Build docs (public)" + run: mkdocs build --strict -f mkdocs.public.yml + + - name: "Install dependencies (insiders)" if: ${{ env.MKDOCS_INSIDERS_SSH_KEY_EXISTS == 'true' }} run: pip install -r docs/requirements-insiders.txt - - name: "Install dependencies" - if: ${{ env.MKDOCS_INSIDERS_SSH_KEY_EXISTS != 'true' }} - run: pip install -r docs/requirements.txt - - name: "Build Insiders docs" + - name: "Build docs (insiders)" if: ${{ env.MKDOCS_INSIDERS_SSH_KEY_EXISTS == 'true' }} 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.public.yml build-binary-linux: needs: determine_changes