From f224ed61ae82911da0b6653f938b780852f76ff0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 8 Feb 2023 22:49:06 -0500 Subject: [PATCH] deploy after test --- .github/workflows/deploy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6371b894..a8712436 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,10 +1,13 @@ name: Deployment on: - push: - branches: - - main + workflow_run: + workflows: ["all tests"] + branches: [main] + types: + - completed jobs: deployment: + if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Deployment runs-on: ubuntu-latest environment: preview