fix misplaced echo kubeconfig

This commit is contained in:
Keyvan Ebrahimpour 2025-04-11 10:04:01 +00:00
parent 2a12960308
commit d7dcd1dee8

View file

@ -17,10 +17,6 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Print kubeconfig server
run: |
grep 'server:' ~/.kube/config
- name: Debug repository name - name: Debug repository name
run: | run: |
echo "Repository: ${{ github.repository }}" echo "Repository: ${{ github.repository }}"
@ -47,6 +43,7 @@ jobs:
export KUBECONFIG=~/.kube/config export KUBECONFIG=~/.kube/config
kubectl version --client kubectl version --client
kubectl cluster-info kubectl cluster-info
grep 'server:' ~/.kube/config
shell: bash shell: bash
- name: Deploy to Kubernetes - name: Deploy to Kubernetes