diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index a0289dd1..e7f4fe7f 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - main paths: - 'docs/**' - 'ext/**' @@ -32,7 +33,7 @@ jobs: SOURCE: "deploy/" REMOTE_HOST: ${{ secrets.ZHAMAO_XIN_HOST }} REMOTE_USER: ${{ secrets.ZHAMAO_XIN_USER }} - TARGET: ${{ secrets.ZHAMAO_XIN_TARGET }} + TARGET: ${{ secrets.FRAMEWORK_ZHAMAO_XIN_TARGET }} - name: deploy script file uses: wlixcc/SFTP-Deploy-Action@v1.2 with: diff --git a/docs/README.md b/docs/README.md index bda4a3e9..ffe06a5d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,11 +1,16 @@ --- home: true heroImage: ./logo_trans.png -actionBtn: - text: 快速上手 - link: /guide/ - type: primary - size: large +actions: + - text: 快速上手 + link: /guide/ + type: primary + size: large + - text: 快速上手(v2 旧版) + link: https://docs-v2.zhamao.me/ + type: primary + ghost: true + size: large features: - title: 高性能 details: 基于 PHP 的 Swoole 高性能扩展,利用 WebSocket 进行与 OneBot 协议兼容的聊天机器人软件的通信,还有数据库连接池、内存缓存、多任务进程等特色,大幅增强性能。 @@ -24,7 +29,7 @@ footer: | 此命令可一键以模板安装框架!(仅限 Linux 和 macOS) ```bash -bash <(curl -fsSL https://zhamao.xin/go.sh) +bash <(curl -fsSL https://zhamao.xin/v3.sh) ``` ## 运行框架