From eb48967df896e048728dee8647a718d9df241a91 Mon Sep 17 00:00:00 2001 From: didinele Date: Sun, 4 Aug 2024 21:16:00 +0300 Subject: [PATCH] fix(ci): only run deploy when quality check is successful --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e012309c..91c7e71f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,7 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} env: TURBO_TEAM: ${{ vars.TURBO_TEAM }} TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}