fix misplaced echo kubeconfig
This commit is contained in:
parent
2a12960308
commit
d7dcd1dee8
1 changed files with 1 additions and 4 deletions
5
.github/workflows/build-and-deploy.yaml
vendored
5
.github/workflows/build-and-deploy.yaml
vendored
|
|
@ -17,10 +17,6 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Print kubeconfig server
|
||||
run: |
|
||||
grep 'server:' ~/.kube/config
|
||||
|
||||
- name: Debug repository name
|
||||
run: |
|
||||
echo "Repository: ${{ github.repository }}"
|
||||
|
|
@ -47,6 +43,7 @@ jobs:
|
|||
export KUBECONFIG=~/.kube/config
|
||||
kubectl version --client
|
||||
kubectl cluster-info
|
||||
grep 'server:' ~/.kube/config
|
||||
shell: bash
|
||||
|
||||
- name: Deploy to Kubernetes
|
||||
|
|
|
|||
Loading…
Reference in a new issue