Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danishkhan24 committed Aug 28, 2024
1 parent d5b90b9 commit 3b5cb3a
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,24 @@ jobs:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

steps:
# Update kubeconfig to access the EKS cluster
- name: Update Kubeconfig
run: |
aws eks update-kubeconfig --name ${{ secrets.EKS_CLUSTER_NAME }} --region ${{ secrets.AWS_REGION }}
- name: Checkout code
uses: actions/checkout@v2

# Update kubeconfig to access the EKS cluster
- name: Update Kubeconfig
run: |
aws eks update-kubeconfig --name ${{ secrets.EKS_CLUSTER_NAME }} --region ${{ secrets.AWS_REGION }}
# Deploy the frontend to EKS
- name: Deploy Frontend to EKS
run: |
kubectl set image -f ./k8s/frontend-deployment.yaml frontend=${{ secrets.FRONTEND_REPO }}:latest
kubectl apply -f ./k8s/frontend-deployment.yaml
# Deploy the frontend to EKS
- name: Deploy Frontend to EKS
run: |
kubectl set image -f ./k8s/frontend-deployment.yaml frontend=${{ secrets.FRONTEND_REPO }}:latest
kubectl apply -f ./k8s/frontend-deployment.yaml
# Deploy the backend to EKS
- name: Deploy Backend to EKS
run: |
kubectl set image -f ./k8s/backend-deployment.yaml backend=${{ secrets.BACKEND_REPO }}:latest
kubectl apply -f ./k8s/backend-deployment.yaml
# Deploy the backend to EKS
- name: Deploy Backend to EKS
run: |
kubectl set image -f ./k8s/backend-deployment.yaml backend=${{ secrets.BACKEND_REPO }}:latest
kubectl apply -f ./k8s/backend-deployment.yaml

0 comments on commit 3b5cb3a

Please sign in to comment.