Skip to content

Commit

Permalink
Update tetrisaks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sankalpmh authored Sep 4, 2024
1 parent cfc9450 commit 495107d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tetrisaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 495107d

Please sign in to comment.