diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 311fc27..6ab2982 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -1,11 +1,13 @@ name: "Build and Deploy" on: - push: {} - pull_request: {} + workflow_run: + workflows: [Test] + types: [completed] jobs: build-and-deploy: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4 with: