You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2022/12/29 23:52:27 UTC

[pulsar-site] branch main updated: [improve][ci] Increase update generated docs interval

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

tison 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 3c7860586bf [improve][ci] Increase update generated docs interval
3c7860586bf is described below

commit 3c7860586bf5255ee61402bc24f019b600d302f8
Author: tison <wa...@gmail.com>
AuthorDate: Fri Dec 30 07:52:16 2022 +0800

    [improve][ci] Increase update generated docs interval
    
    Signed-off-by: tison <wa...@gmail.com>
---
 .github/actions/sync-content/action.yml | 4 ++--
 .github/workflows/ci-sync-content.yml   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/actions/sync-content/action.yml b/.github/actions/sync-content/action.yml
index 617782b29b9..4003e06e161 100644
--- a/.github/actions/sync-content/action.yml
+++ b/.github/actions/sync-content/action.yml
@@ -55,11 +55,11 @@ runs:
       run: mvn -B -ntp install -Pcore-modules,swagger,-main -DskipTests -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
       shell: bash
 
-    - name: Update site sources
+    - name: Update generated docs
       working-directory: tools/pytools
       run: |
         poetry install
         poetry run bin/reference-doc-generator.py --master-path=$GITHUB_WORKSPACE/tmp/pulsar
-        # poetry run bin/rest-apidoc-generator.py --master-path=$GITHUB_WORKSPACE/tmp/pulsar
+        poetry run bin/rest-apidoc-generator.py --master-path=$GITHUB_WORKSPACE/tmp/pulsar
         poetry run bin/site-updater.py --master-path=$GITHUB_WORKSPACE/tmp/pulsar
       shell: bash
diff --git a/.github/workflows/ci-sync-content.yml b/.github/workflows/ci-sync-content.yml
index 6726b711710..d13dba86869 100644
--- a/.github/workflows/ci-sync-content.yml
+++ b/.github/workflows/ci-sync-content.yml
@@ -18,7 +18,7 @@
 name: CI - Synchronize Content
 on:
   schedule:
-    - cron: "0 */6 * * *"
+    - cron: "0 1 * * *"
   workflow_dispatch:
 
 jobs: