From 204bcff75c2443d6b3a05a15c05bc1c20e224737 Mon Sep 17 00:00:00 2001 From: tone Date: Sat, 20 Dec 2025 14:43:14 +0800 Subject: [PATCH] debug: add --- .gitea/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 86f4fc1..2c6ffb7 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -35,6 +35,16 @@ jobs: -t localhost:5000/frontend:latest . docker push localhost:5000/frontend:latest + - name: Debug kubeconfig existence + run: | + if [ -f /root/.kube/config ]; then + echo "✅ /root/.kube/config exists" + grep server /root/.kube/config + else + echo "❌ /root/.kube/config NOT FOUND" + ls -la /root/.kube/ + fi + - name: Deploy to K3s run: | cd apps/deploy