From 432362370723248f455f4fdaba1f987f77e8b053 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 2 Jul 2024 17:36:19 +0100 Subject: [PATCH] do not deploy backend template --- .github/workflows/backend.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend.yaml b/.github/workflows/backend.yaml index b298e447..4b6591f2 100644 --- a/.github/workflows/backend.yaml +++ b/.github/workflows/backend.yaml @@ -39,10 +39,12 @@ jobs: # - the previous jobs did not fail (see [needs]). # - the workflow was not cancelled. # - the repo's owner is Ocado Tech. + # - the repo is not the backend template. # - a change is made to an environment's branch. if: | always() && !failure() && !cancelled() && - github.repository_owner_id == 2088731 && ( + github.repository_owner_id == 2088731 && + github.repository_id != 610204172 && ( github.ref_name == 'production' || github.ref_name == 'development' || github.ref_name == 'staging'