chore: remove deploy.sh, keep pull-and-restart.sh and restart.sh only; update README

Made-with: Cursor
This commit is contained in:
whm
2026-03-17 01:36:57 +08:00
parent 03e83603ef
commit b624bac9b0
2 changed files with 5 additions and 56 deletions

View File

@@ -48,6 +48,11 @@ npm run dev
线上路径为 `yxd@server1:~/project/yh_web`(即 `/home/yxd/project/yh_web`)。
首次或克隆后需加执行权限:
```bash
chmod +x pull-and-restart.sh restart.sh
```
- **拉取代码并重启**`cd ~/project/yh_web && ./pull-and-restart.sh`
- **仅重启服务**`cd ~/project/yh_web && ./restart.sh`
- 对外域名https://yuheng.yuxindazhineng.com