chore: remove deploy.sh, keep pull-and-restart.sh and restart.sh only; update README
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user