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 82731c9 update
82731c9 is described below
commit 82731c9ffc5e4c4d91d6c7fc582903b8eebebc79
Author: LiLi <[email protected]>
AuthorDate: Fri Feb 18 17:00:45 2022 +0800
update
Signed-off-by: LiLi <[email protected]>
---
.github/workflows/ci-pulsar-website-docs-sync.yaml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci-pulsar-website-docs-sync.yaml
b/.github/workflows/ci-pulsar-website-docs-sync.yaml
index e365fb2..7aabb02 100644
--- a/.github/workflows/ci-pulsar-website-docs-sync.yaml
+++ b/.github/workflows/ci-pulsar-website-docs-sync.yaml
@@ -22,16 +22,16 @@ on:
push:
branches: [docs-sync]
schedule:
- - cron: '0 */6 * * *'
+ - cron: "0 */6 * * *"
jobs:
build-website:
if: ${{ github.repository == 'apache/pulsar-site' }}
- name: Docs sync from repo apache/pulsar
+ name: Docs sync from repo apache/pulsar
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- - name: Docs sync from repo apache/pulsar
+ - name: Docs sync from repo apache/pulsar
env:
GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
CROWDIN_DOCUSAURUS_API_KEY: ${{
secrets.PULSAR_CROWDIN_DOCUSAURUS_API_KEY }}
@@ -41,8 +41,10 @@ jobs:
git clone -b master --depth 1 https://github.com/apache/pulsar.git
pulsar
echo "pulsar clone done."
+ cp -r pulsar/site2/docs/* pulsar-site/site2/docs
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
+ cp -r pulsar/site2/docs/assets/*
pulsar-site/site2/website-next/static/assets
# cp -r pulsar/site2/docs/* pulsar-site/site2/website-next/docs
# cp -r pulsar/site2/website/versioned_docs/*
pulsar-site/site2/website-next/versioned_docs