From 3ac88cad9d0ea58fb60cb3465f419b13a400c816 Mon Sep 17 00:00:00 2001 From: ruuushhh Date: Tue, 11 Jun 2024 18:43:59 +0530 Subject: [PATCH] Fix deployment --- .github/workflows/hulk_deployment.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hulk_deployment.yaml b/.github/workflows/hulk_deployment.yaml index e9a8f69..883859f 100644 --- a/.github/workflows/hulk_deployment.yaml +++ b/.github/workflows/hulk_deployment.yaml @@ -1,15 +1,16 @@ name: Deploy to Hulk on: - create: - branches: - - 'ms_business_central_release_*' push: branches: - - 'ms_business_central_release_*' + - 'ms_business_central_release_*' + create: + branches: + - 'ms_business_central_release_*' jobs: hulk_deploy: + if: (github.event_name != 'create' || (github.event_name == 'create' && github.event.ref_type == 'branch') && github.event.ref == 'ms_business_central_release_*')) runs-on: ubuntu-latest environment: Staging steps: