From 5278b642568624b48f6c3d66e547bf60eb08394b Mon Sep 17 00:00:00 2001 From: Chiri Vulpes Date: Mon, 12 Aug 2024 13:15:45 +1200 Subject: [PATCH] Fix deploy checking status for success instead of conclusion for success --- .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 f76e08d..cec08d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: page: 1 }); - if (runs[0]?.status !== 'success') { + if (runs[0]?.conclusion !== 'success') { throw new Error('Latest build failed, cannot deploy'); }