From 5048d2f4685d88ab0fe9c0e07e7cd0e13491fe38 Mon Sep 17 00:00:00 2001 From: acbin <44314231+acbin@users.noreply.github.com> Date: Mon, 9 Oct 2023 02:10:35 +0000 Subject: [PATCH] chore: update workflow and document --- .github/workflows/sync.yml | 10 +++++++++- README.md | 4 ++-- README_CN.md | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index df1de6de..6e45ed46 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 7cab0c2e..bd32d7ac 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 8aa5729c..2b5c0cf9 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 ## 快速上手