From 6959a2e33eadf29b63fdc97c3b5dd00ff4c053a9 Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Tue, 15 Jul 2025 14:53:33 +0200 Subject: [PATCH] Update cicd --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8dda6d..54bdde0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,9 @@ name: Build and Push to Registry on: push: branches: [ main ] + pull_request: + types: [closed] + branches: [ main ] env: REGISTRY: git.4nkweb.com @@ -11,6 +14,7 @@ env: jobs: build-and-push: runs-on: ubuntu-latest + if: github.event.pull_request.merged == true || github.event_name == 'push' steps: - name: Checkout repository uses: actions/checkout@v4