docs(note): 更新 README 中的部署脚本执行方式

- 将原来的直接管道到 sh 的方式改为下载脚本后再执行
- 新增 chmod +x 赋予脚本执行权限的步骤
This commit is contained in:
2025-03-13 23:05:29 +08:00
parent 2fd25722cc
commit 571a771cc9

View File

@@ -3,9 +3,11 @@
## 下载部署脚本
```bash
mkdir -p /opt/www/note
cd /opt/www/note
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/www/note/deploy.sh | sh
mkdir -p /opt/www/note && cd /opt/www/note
```
```bash
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/www/note/deploy.sh > deploy.sh && chmod +x deploy.sh
```
## 定时执行脚本