From 05480cac6b9239c4b01bf85c329ff0b16998583d Mon Sep 17 00:00:00 2001 From: tone Date: Sat, 20 Dec 2025 14:39:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fe8bbf4..274d2f8 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -35,23 +35,6 @@ jobs: -t localhost:5000/frontend:latest . docker push localhost:5000/frontend:latest - - name: Debug kubeconfig - run: | - echo "=== 1. Check if /root/.kube/config exists ===" - ls -la /root/.kube/ - - echo -e "\n=== 2. Show kubeconfig content (redacted) ===" - cat /root/.kube/config | grep -v "certificate\|key" # 隐藏敏感字段 - - echo -e "\n=== 3. Check server address ===" - grep "server:" /root/.kube/config - - echo -e "\n=== 4. Test kubectl cluster-info ===" - kubectl cluster-info --kubeconfig=/root/.kube/config - - echo -e "\n=== 5. Test kubectl get nodes (quick API test) ===" - kubectl get nodes --kubeconfig=/root/.kube/config - - name: Deploy to K3s run: | cd apps/deploy