docs(note): 更新 README 中的部署脚本执行方式
- 将原来的直接管道到 sh 的方式改为下载脚本后再执行 - 新增 chmod +x 赋予脚本执行权限的步骤
This commit is contained in:
@@ -3,9 +3,11 @@
|
|||||||
## 下载部署脚本
|
## 下载部署脚本
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p /opt/www/note
|
mkdir -p /opt/www/note && cd /opt/www/note
|
||||||
cd /opt/www/note
|
```
|
||||||
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/www/note/deploy.sh | sh
|
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.sugarscat.cn/me/bash/-/raw/main/www/note/deploy.sh > deploy.sh && chmod +x deploy.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 定时执行脚本
|
## 定时执行脚本
|
||||||
|
|||||||
Reference in New Issue
Block a user