From 31002ae7edd99233e3a9336018c18bdbd9bdc8cc Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:45:19 -0500 Subject: [PATCH] deploy preview if tests passed --- .github/workflows/deploy-preview.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index 9a2ade4..2b7ca1d 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -1,6 +1,9 @@ name: Deploy Preview on: - push: + workflow_run: + workflows: ["Run Tests"] + types: + - completed branches: - 'main' jobs: