summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2021-06-29 10:09:37 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2021-06-29 10:09:37 -0700
commit5c43426ed96f96d92785366bc762c18e933b6d50 (patch)
tree065e6aa9fb5e14080dc72215e0fa6d05c8a80b40
parent08358993fcab1ba47dcd2d24a4f99915e6725fcc (diff)
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 <tbramwell@linuxfoundation.org>
-rw-r--r--gitlab-templates/RTD.gitlab-ci.yml6
1 files 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/**/*