Skip to content

Commit

Permalink
removed unused deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
mathew-alex authored Aug 1, 2022
1 parent bfc9f46 commit 12f9dc4
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,49 +370,6 @@ jobs:
kubectl apply -f care-celery-worker.yaml
deploy-production-futureace:
needs: build-production
name: Deploy to EKS Futureace
runs-on: ubuntu-latest
environment:
name: Production-futureace
url: https://careapi.plexusindia.in
steps:

- name: Checkout Kube Config
uses: actions/checkout@v3
with:
repository: coronasafe/future-hospitals-infra
token: ${{ secrets.GIT_ACCESS_TOKEN }}
path: kube
ref: main

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

- 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: Deploy Care Production Futureace
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-backend.yaml
sed -i -e "s/_BUILD_NUMBER_/${GITHUB_RUN_NUMBER}/g" care-celery-beat.yaml
sed -i -e "s/_BUILD_NUMBER_/${GITHUB_RUN_NUMBER}/g" care-celery-worker.yaml
kubectl apply -f care-backend.yaml
kubectl apply -f care-celery-beat.yaml
kubectl apply -f care-celery-worker.yaml
deploy-production-manipur:
needs: build-production
name: Deploy to GKE Manipur
Expand Down

0 comments on commit 12f9dc4

Please sign in to comment.