@@ -28,6 +28,5 @@ jobs:
MT_DEVICEID: ${{ secrets.MT_DEVICEID }}
BARK: ${{ secrets.BARK }}
run: |
- cp config.example.js config.js
chmod 777 indexAction.js
node ./indexAction.js
@@ -168,6 +168,4 @@ dist
*.code-workspace
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,node
-n
-
-config.js
+n
@@ -7,20 +7,13 @@
- [x] 自动旅行
- [x] 每日首次旅行分享
- [x] 领取申购耐力值
+- [x] github action 支持
+- [x] 青龙面板支持
-### 安装
+### 本地启动
```shell
npm i -g pm2
-git clone git@github.com:mrabit/xmtravel.git
-cd xmtravel
-npm install
-```
-### 启动
-```shell
-cp config.example.js config.js
# 脚本启动
pm2 start script.json
# 日志查看
@@ -29,6 +22,12 @@ pm2 logs xmtravel --out --lines=100

+### 青龙面板
+
+```shell
+ql repo https://github.com/mrabit/xmtravel.git "" "index.js|api|console|config" "api|console|config"
+```
### 申明
- 本项目仅做学习交流, 禁止用于各种非法途径