Fix kubectl --short error
This commit is contained in:
parent
0b1a267807
commit
5e503aafd0
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build-and-deploy.yaml
vendored
3
.github/workflows/build-and-deploy.yaml
vendored
|
|
@ -39,7 +39,8 @@ jobs:
|
||||||
echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > ~/.kube/config
|
echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > ~/.kube/config
|
||||||
chmod 600 ~/.kube/config
|
chmod 600 ~/.kube/config
|
||||||
export KUBECONFIG=~/.kube/config
|
export KUBECONFIG=~/.kube/config
|
||||||
kubectl version --short
|
kubectl version --client
|
||||||
|
kubectl cluster-info
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Deploy to Kubernetes
|
- name: Deploy to Kubernetes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue