From c798666d018844d3d97b03935e41aba959093125 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Thu, 12 Oct 2023 11:21:24 +1100 Subject: [PATCH] [patch-200] Extend workflow conditional logic. --- .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 eb91bd64..0826c4d0 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -15,7 +15,7 @@ env: REGISTRY: ghcr.io jobs: buildx: - if: github.event.pull_request.merged == true || startsWith(github.head_ref, 'build/') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' + if: github.event.pull_request.merged == true || (github.event_name == 'push' && startsWith(github.head_ref, 'build')) || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest strategy: matrix: