From ad94391ea6c4a12ed2394c7982b0014a21f6202e Mon Sep 17 00:00:00 2001 From: Thomas Menanteau <91687641+VisualDev-FR@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:01:24 +0100 Subject: [PATCH] update branhes ci --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dda00547b8..5d8bcb2288 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ master ] + branches: [ "*" ] pull_request: branches: [ master ] @@ -37,6 +37,7 @@ jobs: build_docker: needs: build_app runs-on: ubuntu-latest + if: (github.event_name == 'push' || github.event_name == 'pull_request') && github.event.ref == 'refs/heads/master' steps: - name: Checkout code @@ -69,6 +70,8 @@ jobs: deploy: needs: build_docker runs-on: ubuntu-latest + if: (github.event_name == 'push' || github.event_name == 'pull_request') && github.event.ref == 'refs/heads/master' + steps: - name: deploy run: |