cicd
Some checks failed
自动部署 / 部署应用 (push) Failing after 1s

This commit is contained in:
2026-06-02 22:39:26 +08:00
parent bf61c4af4e
commit 01ae26e869

View File

@@ -6,7 +6,8 @@ jobs:
部署应用: 部署应用:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 直接部署(已有源码) - name: k8s部署
run: | run: |
/usr/local/bin/kubectl apply -f k8s/ export KUBECONFIG=/data/config
/usr/local/bin/kubectl rollout restart deployment admin-ui -n kubernetes-dashboard /data/kubectl apply -f k8s/
/data/kubectl rollout restart deployment admin-ui -n kubernetes-dashboard