Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pradumchintamani authored Jun 22, 2024
1 parent f1360c7 commit d69d422
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,27 @@ jobs:

- name: Configure kubectl
run: |
mkdir -p ~/.kube
echo "$KUBE_CONFIG" | base64 -d > ~/.kube/config
kubectl version --client
# mkdir -p ~/.kube
# echo "$KUBE_CONFIG" | base64 -d > ~/.kube/config
# kubectl version --client
ls
- name: Create and claim persistent volume
run: |
cd kubernetes
whoami
sudo su
kubectl apply -f persistentVolume.yaml
kubectl apply -f persistentVolumeClaim.yaml
- name: Deploy MongoDB
run: |
kubectl apply -f mongodb.yaml
- name: Deploy Redis
run: |
kubectl apply -f redis.yaml
- name: Deploy Backend
run: |
kubectl apply -f backend.yaml
- name: Deploy Frontend
run: |
kubectl apply -f frontend.yaml
# - name: Create and claim persistent volume
# run: |
# cd kubernetes
# whoami
# sudo su
# kubectl apply -f persistentVolume.yaml
# kubectl apply -f persistentVolumeClaim.yaml
# - name: Deploy MongoDB
# run: |
# kubectl apply -f mongodb.yaml
# - name: Deploy Redis
# run: |
# kubectl apply -f redis.yaml
# - name: Deploy Backend
# run: |
# kubectl apply -f backend.yaml
# - name: Deploy Frontend
# run: |
# kubectl apply -f frontend.yaml

0 comments on commit d69d422

Please sign in to comment.