From fe32a0af2029f9f4a9546e50f0ca9c297063b183 Mon Sep 17 00:00:00 2001 From: D V Shashidhar Reddy <95679221+shashi2504@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:49:56 +0530 Subject: [PATCH] updated the branch in if expressions --- .github/workflows/solar-system.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/solar-system.yml b/.github/workflows/solar-system.yml index 9b17f18..345f300 100644 --- a/.github/workflows/solar-system.yml +++ b/.github/workflows/solar-system.yml @@ -248,7 +248,7 @@ jobs: continue-on-error: true prod-deploy: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' name: Deploying Application to the Production Env needs: docker environment: @@ -319,7 +319,7 @@ jobs: echo "APP_INGRESS_HOST=$(kubectl get ingress -n ${{ vars.NAMESPACE }} -o jsonpath="{.items[0].spec.tls[0].hosts[0]}")" >> "$GITHUB_OUTPUT" production-integration-testing: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' name: Production Integration testing needs: prod-deploy runs-on: ubuntu-latest