From d69d42209edef4e7e75d930319c2b51b5a33377d Mon Sep 17 00:00:00 2001 From: Pradum Chintamani <80237284+pradumchintamani@users.noreply.github.com> Date: Sat, 22 Jun 2024 22:55:16 +0530 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 45 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 43ca9db..8ea6c01 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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