Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Harisathwik authored Jul 25, 2023
1 parent 600534a commit 18470cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: . # Download all repository files to the root directory

- name: Set up Kubernetes config
run: |
mkdir -p $HOME/.kube/
echo "${{ secrets.KUBECONFIG }}" > $HOME/.kube/config
cp kubeconfig.yaml $HOME/.kube/config # Replace 'kubeconfig.yaml' with the actual name of your kubeconfig file
cp .minikube/ca.crt $HOME/.kube/.minikube/ca.crt
cp .minikube/profiles/minikube/client.crt $HOME/.kube/.minikube/profiles/minikube/client.crt
cp .minikube/profiles/minikube/client.key $HOME/.kube/.minikube/profiles/minikube/client.key
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down

0 comments on commit 18470cf

Please sign in to comment.