Skip to content

Commit

Permalink
Update: Test Sync Func
Browse files Browse the repository at this point in the history
Signed-off-by: Shanshui2024 <shanshui20232023@outlook.com>
  • Loading branch information
Shanshui2024 committed Aug 28, 2024
1 parent 0c14bc0 commit e893d39
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 15 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Node CI

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm run build


- name: Deploy to Baota Server
uses: easingthemes/ssh-deploy@v4.1.8 # 使用ssh-deploy Action
with:
ssh-private-key: ${{ secrets.SERVER_SSH_KEY }} # 服务器SSH私钥
remote-user: ${{ secrets.SERVER_USER }} # 服务器用户名
remote-host: ${{ secrets.SERVER_HOST }} # 服务器地址
remote-port: ${{ secrets.SERVER_PORT }} # SSH端口,默认为22
target-path: ${{ secrets.SERVER_TARGET }} # 服务器上的目标路径
source: 'dist/' # 要上传的本地目录
args: '-rltgoDzv' # rsync参数
before-script: |
mkdir -P ${{ secrets.SERVER_TARGET }}
rm -rf ${{ secrets.SERVER_TARGET }}/*
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/docs/.vitepress/cache
4 changes: 3 additions & 1 deletion docs/AxTBot/CommandList/minecraft.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ title: Minecraft信息查询
|功能|指令|
| ------------ | ------------ |
| 获取玩家UUID等信息 | /mc [ID] |
| 获取玩家皮肤文件 | #mcskin [ID] |
| 获取玩家皮肤文件 | /mcskin [ID] |
| 获取玩家皮肤头像 | /mchead [ID] |
| 获取玩家皮肤躯干 | /mcbody [ID] |
| 支持Java/BE查询 | /mcping [IP:端口] |
| Java服务器详细查询 | /mcping [IP:端口] java |
| Bedrock服务器详细查询 | /mcping [IP:端口] be |
Expand Down
15 changes: 8 additions & 7 deletions docs/AxTBot/CommandList/steam.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ title: 查询Steam用户信息

```
====Steam账户信息====
社区资料状态:公开
用户名:NoNameGMM
真实姓名:NoNameGMM
Steam ID:76561199445846334
账户创建日期:2022-12-19 07:54:29
最后下线日期:1970-01-01 08:00:00
地理位置:CN
| 社区资料状态:公开
| 用户名:NoNameGMM
| 真实姓名:NoNameGMM
| Steam ID:76561199445846334
| 账户创建日期:2022-12-19 07:54:29
| 最后下线日期:1970-01-01 08:00:00
| 地理位置:CN
=====================
```
17 changes: 17 additions & 0 deletions docs/AxTBot/CommandList/touch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
sidebar_position: 4
title: 摸头
---
# 今日人品

用法:`@机器人 摸`

示例:
```
@机器人 摸1680839
```

获取成功-返回示例:
```
[表情包]
```
1 change: 1 addition & 0 deletions docs/AxTBot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ title: AxTBot
|AxT社区机器人| [@机器人 /hotlist [类型] ](/AxTBot/CommandList/hotlist) | 获取热搜榜信息的信息 |
|AxT社区机器人| [@机器人 /steam [昵称/ID] ](/AxTBot/CommandList/steam) | 获取Steam账号信息 |
|AxT社区机器人| [@机器人 /ask [问题] ](/AxTBot/CommandList/ask) | 赛博答案之书 |
|AxT社区机器人| [@机器人 /摸 [QQ号] ](/AxTBot/CommandList/touch) | 生成摸头GIF |
|AxT社区机器人| [@机器人 jrrp](/AxTBot/CommandList/jrrp) | 获取今日人品 |
4 changes: 2 additions & 2 deletions docs/AxTBot/如何使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sidebar_position: 2

<img width="500" alt="找到Bot" src="https://static.axtn.net/docs/img/axtbot/find_bot.jpg">

> 由于特殊原因`AxT社区Bot``AxT社区机器人` 功能合并,所以图片中展示的AxT社区Bot已经被移除
> 由于部分原因`AxT社区Bot``AxT社区机器人` 功能合并,所以图片中展示的AxT社区Bot已经被移除
### 3. 添加到群聊
- 点击下方的 `添加到群聊` 按钮进行添加
Expand All @@ -40,7 +40,7 @@ sidebar_position: 2
## 通过二维码添加
> 扫描以下需要添加的Bot名二维码,点击 `添加到群聊`
<img width="600" alt="AxT社区Bot" src="https://static.axtn.net/docs/img/axtbot/robot_qrcode.png">
<img width="600" alt="AxT社区机器人" src="https://static.axtn.net/docs/img/axtbot/robot_qrcode.png">


::: tip Tips:
Expand Down
9 changes: 5 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sidebar_position: 1
| ----------------- | ----------------------------------------------------------- | ----- |
| AxT 官网 | [https://www.axtn.net/](https://www.axtn.net) | 98% |
| AxT 论坛 | [https://forum.axtn.net/](https://forum.axtn.net/) | 55% |
| AxT 文档 | [https://docs.axtn.net/](https://docs.axtn.net/) | 65% |
| AxT 文档 | [https://docs.axtn.net/](https://docs.axtn.net/) | 67% |
| AxT API | [https://api.axtn.net/](https://api.axtn.net/) | 60% |
| AxT 用户面板 | [https://dash.axtn.net/](https://dash.axtn.net/) | 55% |
| UApi | [https://uapis.cn](https://uapis.cn) | 75% |
Expand Down Expand Up @@ -72,11 +72,12 @@ sidebar_position: 1

| 项目名 | 描述 | 负责人 | 是否收费 | 完成度 |
| --------------- | ---------------------------------- | ---------- | ----------- | ------ |
| **EasyConnect** | / | @XiaoXian | 部分收费 | 0% |
| **EasyWAN** | / | @XiaoXian | 部分收费 | 0% |
| **MCMirror** | Minecraft镜像站 | @XiaoXian @melisaaaa | 公益 | 80% |
| **ATMirror** | 轻量化不限速镜像下载站 | @XiaoXian | 公益 | 10% |


## 停止维护的项目

**暂无**
| 项目名 | 描述 | 负责人 | 是否收费 |
| --------------- | ---------------------------------- | ---------- | ----------- |
| **ATMirror** | 轻量化不限速镜像下载站 | @XiaoXian | 公益 |
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e893d39

Please sign in to comment.