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

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

commit 785fc0602e93652cf2b53ee7e5310d9b9e67e76f
Author: LiLi <[email protected]>
AuthorDate: Tue Feb 15 16:01:01 2022 +0800

    update
    
    Signed-off-by: LiLi <[email protected]>
---
 .github/workflows/ci-pulsar-website-docs-sync.yaml | 22 +++++++++++-----------
 site2/tools/sync-docs.sh                           |  2 --
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/ci-pulsar-website-docs-sync.yaml 
b/.github/workflows/ci-pulsar-website-docs-sync.yaml
index 637d2ef..8d493e4 100644
--- a/.github/workflows/ci-pulsar-website-docs-sync.yaml
+++ b/.github/workflows/ci-pulsar-website-docs-sync.yaml
@@ -34,22 +34,22 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 180
     steps:
-      - name: checkout
-        uses: actions/checkout@v2
-        with:
-          ref: main
-
-      - name: Clone Pulsar
+      # - name: checkout
+      #   uses: actions/checkout@v2
+      #   with:
+      #     ref: main
+      - name: Docs sync from repo apache/pulsar 
         env:
           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 clone "https://[email protected]/apache/pulsar-site.git"; .
           git status
+          # 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
           # rm -rf pulsar/.git
           # rm -rf pulsar/site2
           # mv pulsar/* pulsar-site/
diff --git a/site2/tools/sync-docs.sh b/site2/tools/sync-docs.sh
deleted file mode 100755
index b154721..0000000
--- a/site2/tools/sync-docs.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-cp -r ../pulsar/site2/website/versioned_docs/* ./site2/website/versioned_docs
-cp -r ../pulsar/site2/website/versioned_sidebars/* 
./site2/website/versioned_sidebars
\ No newline at end of file

Reply via email to