From af7ba46781a86c76aac0ba9060ccd94ae2eb3c77 Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Tue, 12 Nov 2024 16:37:06 +0100 Subject: [PATCH] Do not deploy when jobs were skipped (#2624) --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 47d9580d32..0ac278dd51 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -348,7 +348,7 @@ jobs: deploy-nucliadb-components: name: Deploy NucliaDB components runs-on: ubuntu-24.04 - if: ${{ !failure() && !cancelled() }} + if: ${{ !failure() && !cancelled() && needs.upload-chart-nucliadb-shared.result != 'skipped' && needs.upload-chart-nucliadb-component.result != 'skipped' && needs.upload-chart-nucliadb-node.result != 'skipped' }} needs: - upload-chart-nucliadb-shared - upload-charts-nucliadb-component