update
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules
|
||||
14
package.json
Normal file
14
package.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "update-cli-skill",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"type": "module"
|
||||
}
|
||||
13
run.md
Normal file
13
run.md
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
执行当前的技能,更新的地址服务器是这些
|
||||
|
||||
- xionmi
|
||||
- xiaomi
|
||||
- light
|
||||
- library
|
||||
- on
|
||||
- pro
|
||||
- aliyun
|
||||
- kevisual
|
||||
- envision
|
||||
- zxj
|
||||
15
skills/update/SKILL.md
Normal file
15
skills/update/SKILL.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
name: Update CLI Skill
|
||||
description: 关于更新边缘运行环境的 cli 的工具,直接在服务器上执行更新命令,并重启。
|
||||
---
|
||||
|
||||
需要对应的服务器地址,比如light。
|
||||
|
||||
第一步, 执行更新
|
||||
```bash
|
||||
ssh light "npm i -g @kevisual/cli"
|
||||
```
|
||||
第二步, 重启服务
|
||||
```bash
|
||||
ssh light "pm2 restart all"
|
||||
```
|
||||
14
skills/update/server.md
Normal file
14
skills/update/server.md
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
- xion
|
||||
- diana-local
|
||||
|
||||
- xionmi
|
||||
- xiaomi
|
||||
- light
|
||||
- library
|
||||
- on
|
||||
- pro
|
||||
- aliyun
|
||||
- kevisual
|
||||
- envision
|
||||
- zxj
|
||||
Reference in New Issue
Block a user