chore: deploy.yml 移除 RAG Worker 部署步骤(已迁至独立仓库)
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 40s
Deploy API Server / current-integration (push) Successful in 33s
Deploy API Server / backward-compat (push) Successful in 17s
Deploy API Server / deploy (push) Successful in 57s

This commit is contained in:
wangdl 2026-07-02 21:06:55 +08:00
parent a621bd169d
commit 67cab56a26

View File

@ -369,15 +369,7 @@ jobs:
echo "[deploy] Worker: $(sudo systemctl is-active zhixi-nest-worker)"
sudo journalctl -u zhixi-nest-worker --no-pager -n 10
- name: Deploy RAG Worker
- name: Trigger RAG Worker deploy
run: |
set -e
WORKER_DIR="/opt/zhixi/backend/rag-worker"
mkdir -p "$WORKER_DIR"
rsync -av --delete --exclude='.env' --exclude='__pycache__' $WORKDIR/rag-worker/ "$WORKER_DIR/"
sudo cp "$WORKER_DIR/zhixi-worker.service" /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl restart zhixi-worker
sleep 5
sudo systemctl is-active zhixi-worker
echo "[deploy] RAG worker active OK"
echo "[deploy] RAG Worker is now deployed from its own CI/CD pipeline"
echo "[deploy] Repo: http://10.2.0.7:3000/wangdl/rag-worker"