Skip to content

Commit

Permalink
removed gdc deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mathew-alex committed Apr 11, 2023
1 parent 9b20573 commit d0cc684
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,43 +180,6 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
deploy-production-gdc:
needs: build-production
name: Deploy to EKS GDC
runs-on: ubuntu-latest
environment:
name: Staging-gdc
url: https://gdc.coronasafe.network
steps:
- name: Checkout Kube Config
uses: actions/checkout@v3
with:
repository: coronasafe/gdc_infra
token: ${{ secrets.GIT_ACCESS_TOKEN }}
path: kube
ref: main

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID}}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-south-1

- name: install kubectl
uses: azure/[email protected]
with:
version: "v1.23.6"
id: install

- name: Deploy Care Fe Production
run: |
mkdir -p $HOME/.kube/
aws eks update-kubeconfig --name $EKS_CLUSTER_NAME --region ap-south-1
cd kube/deployments/
sed -i -e "s/_BUILD_NUMBER_/${GITHUB_RUN_NUMBER}/g" care-fe.yaml
kubectl apply -f care-fe.yaml
deploy-production-manipur:
needs: build-production
name: Deploy to GKE Manipur
Expand Down

0 comments on commit d0cc684

Please sign in to comment.