You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/02/15 07:54:42 UTC

[pulsar-site] branch docs-sync updated: feat: update

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch docs-sync
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/docs-sync by this push:
     new 876e3d1  feat: update
876e3d1 is described below

commit 876e3d19dec6bc89db44b912ba5655608e02c0f7
Author: LiLi <ur...@apache.org>
AuthorDate: Tue Feb 15 15:54:29 2022 +0800

    feat: update
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 .github/workflows/ci-pulsar-website-docs-sync.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci-pulsar-website-docs-sync.yaml b/.github/workflows/ci-pulsar-website-docs-sync.yaml
index 3509252..637d2ef 100644
--- a/.github/workflows/ci-pulsar-website-docs-sync.yaml
+++ b/.github/workflows/ci-pulsar-website-docs-sync.yaml
@@ -44,9 +44,12 @@ jobs:
           GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
           CROWDIN_DOCUSAURUS_API_KEY: ${{ secrets.PULSAR_CROWDIN_DOCUSAURUS_API_KEY }}
         run: |
+          cd ../
+          git clone https://github.com/apache/pulsar.git
+          cp -r pulsar/site2/website/versioned_docs/* pulsar-site/site2/website/versioned_docs
+          cp -r pulsar/site2/website/versioned_sidebars/* pulsar-site/site2/website/versioned_sidebars
+          cd pulsar-site
           git status
-          # cd ../
-          # git clone https://github.com/apache/pulsar.git
           # rm -rf pulsar/.git
           # rm -rf pulsar/site2
           # mv pulsar/* pulsar-site/