From c149d3cab912770d770a62499e0f98e73a2b7b65 Mon Sep 17 00:00:00 2001
From: Chase Qi <chase.qi@linaro.org>
Date: Wed, 10 Aug 2022 12:11:14 +0800
Subject: [PATCH] .oniro-ci: skip build-doc job for scheduled pipeline as it
runs when changes land
Signed-off-by: Chase Qi <chase.qi@linaro.org>
---
.oniro-ci/build-generic.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml
index 2190c7d2..e397e619 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:
--
GitLab