fix(ci): nas-deploy rsync 前cd..回根(build合并在cd frontend step里,rsync frontend/dist/需在workspace根)
CI/CD / test (push) Successful in 10s
CI/CD / nas-deploy (push) Successful in 22s
CI/CD / nas-verify (push) Failing after 1s

This commit is contained in:
2026-07-31 15:16:32 +08:00
parent 5d54e22f72
commit 6731fc35bf
+1
View File
@@ -55,6 +55,7 @@ jobs:
cd frontend cd frontend
npm ci npm ci
npm run build npm run build
cd ..
rsync -az --delete frontend/dist/ sanguo-nas:/volume1/homes/admin/.sanguo_projects/sanguo_vnpy_v2/frontend/dist/ rsync -az --delete frontend/dist/ sanguo-nas:/volume1/homes/admin/.sanguo_projects/sanguo_vnpy_v2/frontend/dist/
- name: restart NAS 容器(加载新后端代码) + 等 web 就绪 - name: restart NAS 容器(加载新后端代码) + 等 web 就绪
run: | run: |