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/05/18 05:43:46 UTC

[pulsar-site] branch main updated: update sync-docs script

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


The following commit(s) were added to refs/heads/main by this push:
     new 6eca4517786 update sync-docs script
6eca4517786 is described below

commit 6eca4517786698b47d2f27665ca83a5c85052f87
Author: Li Li <ur...@apache.org>
AuthorDate: Wed May 18 13:43:37 2022 +0800

    update sync-docs script
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/scripts/sync-docs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site2/website-next/scripts/sync-docs.sh b/site2/website-next/scripts/sync-docs.sh
index 336040b7fce..e2590af720e 100755
--- a/site2/website-next/scripts/sync-docs.sh
+++ b/site2/website-next/scripts/sync-docs.sh
@@ -7,8 +7,8 @@ if [ "" != $1"" ]; then # when preview in pulsar repo
     SRC_DIR=$ROOT_DIR/../..
 fi
 
-cp -r $SRC_DIR/blog/* $ROOT_DIR/site2/website-next/blog
 cp -r $SRC_DIR/docs/* $ROOT_DIR/site2/website-next/docs
+cp -r $SRC_DIR/website/blog/* $ROOT_DIR/site2/website-next/blog
 cp -r $ROOT_DIR/site2/website-next/docs/assets/* $ROOT_DIR/site2/website-next/static/assets
 rm -rf $ROOT_DIR/site2/website-next/docs/assets
 cp -r $SRC_DIR/website/versioned_docs/* $ROOT_DIR/site2/website-next/versioned_docs