From 7cc4eb9666b5943cada973fcecd3a900aead363f Mon Sep 17 00:00:00 2001 From: shtlrs Date: Sun, 21 May 2023 13:06:49 +0100 Subject: use main ref as predicate --- .github/workflows/build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 8f984d9b9..8d1e77f54 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -2,7 +2,7 @@ name: Build & Deploy env: # Used to determine whether we should push & deploy the docker image. - IS_MAIN_REF: ${{ github.ref == github.event.repository.default_branch }} + IS_MAIN_REF: ${{ github.ref == 'refs/heads/main'}} on: workflow_call: -- cgit v1.2.3