From 5c43426ed96f96d92785366bc762c18e933b6d50 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Tue, 29 Jun 2021 10:09:37 -0700 Subject: Fix Gitlab RTD Template Triggering on Changes This needs to be a double-splat in order to trigger on changes in subdirectories as well. Change-Id: I7c51a01f0e04d3280584ad1e4736633667ce939f Signed-off-by: Trevor Bramwell --- gitlab-templates/RTD.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitlab-templates/RTD.gitlab-ci.yml b/gitlab-templates/RTD.gitlab-ci.yml index 5b838d204..2846707fd 100644 --- a/gitlab-templates/RTD.gitlab-ci.yml +++ b/gitlab-templates/RTD.gitlab-ci.yml @@ -56,7 +56,7 @@ docs-build: when: never - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH changes: - - $DOCS_DIRECTORY/* + - $DOCS_DIRECTORY/**/* docs-link-check: stage: test @@ -76,7 +76,7 @@ docs-link-check: when: never - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH changes: - - $DOCS_DIRECTORY/* + - $DOCS_DIRECTORY/**/* pages: stage: deploy @@ -92,4 +92,4 @@ pages: when: never - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH changes: - - $DOCS_DIRECTORY/* + - $DOCS_DIRECTORY/**/* -- cgit 1.2.3-korg