From 495107d9b385b2f9bfc2bfd22208eeb779381c33 Mon Sep 17 00:00:00 2001 From: Sankalp Mhatre <124987623+sankalpmh@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:54:46 +0530 Subject: [PATCH] Update tetrisaks.yml --- .github/workflows/tetrisaks.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tetrisaks.yml b/.github/workflows/tetrisaks.yml index 06beae3..5d69b48 100644 --- a/.github/workflows/tetrisaks.yml +++ b/.github/workflows/tetrisaks.yml @@ -3,23 +3,23 @@ name: Deploy to AKS on: push: branches: - - master # Update this to your desired branch + - main # Set the branch you want to trigger the deployment on jobs: deploy: runs-on: ubuntu-latest - steps: - name: Checkout code uses: actions/checkout@v3 - - name: Set up K8s credentials - uses: azure/setup-kubectl@v3 + - name: Set up Kubernetes CLI + uses: azure/setup-kubectl@v1 with: - version: 'latest' + version: '1.26.0' # Specify the Kubernetes version you need - - name: Configure Kubeconfig - run: echo "${{ secrets.KUBE_CONFIG_DATA }}" | base64 --decode > $HOME/.kube/config + - name: Set up Kubeconfig + run: | + echo "${{ secrets.KUBE_CONFIG_DATA }}" | base64 -d > $HOME/.kube/config - name: Deploy manifests run: |