Skip to content
Snippets Groups Projects
Commit 54f6ce61 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

gitlab-ci.yml: fix rules:if:changes


It seems that `**` matches only the directory parts, `*` is needed to
match files contained therein.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent d8194ee1
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ build-docs: ...@@ -54,7 +54,7 @@ build-docs:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes: changes:
# React to changes to the docs directory. # React to changes to the docs directory.
- docs/** - docs/**/*
# Run this job in case the pipeline changes. # Run this job in case the pipeline changes.
- .ostc-ci/*.yml - .ostc-ci/*.yml
...@@ -77,8 +77,8 @@ build-docs: ...@@ -77,8 +77,8 @@ build-docs:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes: changes:
# React to changes to meta-layers assets and flavours. # React to changes to meta-layers assets and flavours.
- assets/** - assets/**/*
- flavours/** - flavours/**/*
- meta-*/** - meta-*/**/*
# Run this job in case the pipeline changes. # Run this job in case the pipeline changes.
- .ostc-ci/*.yml - .ostc-ci/*.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment