From 18adfeabb373646f8c760381f4ef7a6ff6a2ee72 Mon Sep 17 00:00:00 2001 From: Med Dhia Kassab Date: Fri, 26 Jul 2024 01:19:02 +0100 Subject: [PATCH] Update production.yaml --- .github/workflows/production.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 02df39f..87c6d12 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -8,17 +8,17 @@ env: # that is why i commented the push branches main sub tree ... on: - #push: - #branches: - #- main - pull_request: - types: [closed] + push: + branches: + - main + #pull_request: + #types: [closed] jobs: DeployProduction: # so it will run this workflow only new pull request is merged into main # branch coming from another secondary branch ... - if: github.event.pull_request.merged == true && github.event.base.ref == "main" + #if: github.event.pull_request.merged == true && github.event.base.ref == "main" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3