diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml
index 2190c7d24524936115c71b5e5a853749fed674f5..e397e6197d305cc9e31c308574a1d83b2953c849 100644
--- a/.oniro-ci/build-generic.yaml
+++ b/.oniro-ci/build-generic.yaml
@@ -436,6 +436,8 @@
     paths:
       - docs/build
   rules:
+    - if: '$CI_PIPELINE_SOURCE == "schedule"'
+      when: never
     # Build the docs when a merge request is created.
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
       changes: