diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index df1de6d..6e45ed4 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -2,7 +2,7 @@ name: sync-to-gitee on: push: - branches: [main, dev] + branches: [main, dev, gh-pages] workflow_dispatch: jobs: @@ -17,3 +17,11 @@ jobs: with: source-repo: git@github.com:doocs/qcloud-im-server-sdk-java.git destination-repo: git@gitee.com:Doocs/qcloud-im-server-sdk-java.git + + - name: Build Gitee Pages + uses: yanglbme/gitee-pages-action@main + with: + gitee-username: yanglbme + gitee-password: ${{ secrets.GITEE_PASSWORD }} + gitee-repo: doocs/qcloud-im-server-sdk-java + branch: gh-pages diff --git a/README.md b/README.md index 7cab0c2..bd32d7a 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ The Tencent Cloud IM Server SDK for Java enables Java developers to easily work ## Documentation -- [Documentation Home](https://doocs.github.io/qcloud-im-server-sdk-java) -- [Contributing Code](#Contributing) +- Gitee Pages: https://doocs.gitee.io/qcloud-im-server-sdk-java +- GitHub Pages: https://doocs.github.io/qcloud-im-server-sdk-java ## Quick Start diff --git a/README_CN.md b/README_CN.md index 8aa5729..2b5c0cf 100644 --- a/README_CN.md +++ b/README_CN.md @@ -11,8 +11,8 @@ ## 文档导航 -- [文档站点](https://doocs.github.io/qcloud-im-server-sdk-java) -- [贡献代码](#Contributing) +- Gitee Pages: https://doocs.gitee.io/qcloud-im-server-sdk-java +- GitHub Pages: https://doocs.github.io/qcloud-im-server-sdk-java ## 快速上手