diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 25992ad01ec..24c7a10f98c 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -104,7 +104,7 @@ jobs: - name: Update environment run: mamba update -n tardis --file conda-linux-64.lock - if: steps.cache-conda.outputs.cache-hit != 'true' + if: steps.cache-conda.outputs.cache-hit != 'true' && (steps.docs_check.outcome == 'success' || steps.is_build_docs_label.outcome == 'success' || steps.is_workflow_dispatch.outcome == 'success') - name: Install package run: pip install -e .