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

This commit is contained in:
2026-06-02 22:59:07 +08:00
parent 5415da5b6c
commit 2962865857

View File

@@ -6,8 +6,6 @@ jobs:
部署应用: 部署应用:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 拉取项目源码(内网Gitea) - name: 调用容器内部署脚本
run: | run: |
rm -rf ./src && git clone $GITEA_REPO_URL src && cd src docker exec gitea-runner /opt/deploy.sh "${GITEA_REPO_URL}" "${GITEA_BRANCH}"
/usr/local/bin/kubectl apply -f k8s/
/usr/local/bin/kubectl rollout restart deployment admin-ui -n kubernetes-dashboard