From 7d55d1c60a18f5bfad406a1b9df881f4a1907d9c Mon Sep 17 00:00:00 2001 From: Fulvius <31437530+LCerebo@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:56:47 +0200 Subject: [PATCH] Closes #358 - Changed the CI build policy to push master artifacts at every commit. (#552) --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8d6a637a8..18a6e24dc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -175,8 +175,8 @@ jobs: postgres_tests, jdk_tests, ] - # trigger job on merge only - if: github.event.pull_request.merged == true + # trigger job on master branch only + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v4 - name: Login to Docker Hub @@ -203,8 +203,8 @@ jobs: postgres_tests, jdk_tests, ] - # trigger job on merge only - if: github.event.pull_request.merged == true + # trigger job on master branch only + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v4 - name: Set up Maven Central Repository