aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-21 13:06:49 +0100
committerGravatar Amrou Bellalouna <[email protected]>2023-05-24 11:36:10 +0100
commit7cc4eb9666b5943cada973fcecd3a900aead363f (patch)
treed9c3431909d1c148352b8dbf627c00896b88dd8b
parentbuild docker image in all PRs (diff)
use main ref as predicate
-rw-r--r--.github/workflows/build-deploy.yml2
1 files changed, 1 insertions, 1 deletions
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: