GitLab CI: Fix our documentation globs

The correct glob pattern for a directory and its subdirectories is
"**/*". Use that in the change rules for the Documentation job.
This commit is contained in:
Gerald Combs 2022-06-15 10:24:07 -07:00
parent a1f36f06f6
commit 022ebb106a
1 changed files with 4 additions and 4 deletions

View File

@ -430,13 +430,13 @@ Documentation:
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/' - if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/'
changes: changes:
- "docbook/**" - "docbook/**/*"
- "epan/wslua/**" - "epan/wslua/**/*"
when: always when: always
- if: '$CI_PIPELINE_SOURCE == "push"' - if: '$CI_PIPELINE_SOURCE == "push"'
changes: changes:
- "docbook/**" - "docbook/**/*"
- "epan/wslua/**" - "epan/wslua/**/*"
when: manual when: manual
script: script:
# XXX We might want to move this to wireshark-ubuntu-dev or debian-setup.sh. # XXX We might want to move this to wireshark-ubuntu-dev or debian-setup.sh.