From 4318ffda9597a8ff1abed4dc5922deb38eba1873 Mon Sep 17 00:00:00 2001 From: Vysakh Premkumar <84713473+tellmeY18@users.noreply.github.com> Date: Mon, 6 Jan 2025 11:49:24 +0530 Subject: [PATCH] disabled image build and deploy for care stagin (#9779) --- .github/workflows/deploy.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4d8ac14635a..79e4d357951 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -61,7 +61,7 @@ jobs: build: needs: test - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/staging' || startsWith(github.event.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/develop' || startsWith(github.event.ref, 'refs/tags/v') name: Build & Push to container registries runs-on: ubuntu-latest steps: @@ -139,18 +139,3 @@ jobs: run: | echo "Release ${{ github.sha }} is ready to be deployed to production" - deploy-staging-gcp: - needs: build - if: github.ref == 'refs/heads/staging' - name: Deploy to staging GCP cluster - runs-on: ubuntu-latest - environment: - name: Staging-GCP - url: https://care-staging.ohc.network/ - steps: - - name: Trigger deploy - run: | - COMMIT_SHA=${{ github.sha }} - JSON='{ "substitutions": { "care_be_tag":"", "care_fe_tag": "'"$COMMIT_SHA"'", "metabase_tag": "" } }' - curl --location "${{ secrets.STAGING_GCP_DEPLOY_URL }}" \ - --header 'Content-Type: application/json' --data "$JSON"