CI: Run docs pipeline only upon changes to root markdown files (#48433)

* Run docs pipeline only upon changes to root markdown files

* Include latest/json
This commit is contained in:
Dimitris Sotirakis 2022-04-28 17:41:46 +03:00 committed by GitHub
parent 484bd0b557
commit c3ba6f962b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View File

@ -55,7 +55,9 @@ trigger:
- pull_request
paths:
exclude:
- '*.md'
- docs/**
- latest.json
type: docker
volumes:
- host:
@ -141,7 +143,9 @@ trigger:
- pull_request
paths:
exclude:
- '*.md'
- docs/**
- latest.json
type: docker
volumes:
- host:
@ -376,7 +380,9 @@ trigger:
- pull_request
paths:
exclude:
- '*.md'
- docs/**
- latest.json
type: docker
volumes:
- host:
@ -458,7 +464,9 @@ trigger:
- pull_request
paths:
exclude:
- '*.md'
- docs/**
- latest.json
type: docker
volumes:
- host:
@ -551,8 +559,10 @@ trigger:
- pull_request
paths:
include:
- '*.md'
- docs/**
- packages/**
- latest.json
type: docker
volumes:
- host:
@ -4604,6 +4614,6 @@ kind: secret
name: gcp_upload_artifacts_key
---
kind: signature
hmac: 045df48997fde9ae05050441a3635a97a8be4db7b8b0c748c367cee0fc3d2373
hmac: 6be0c058bd66d0282afe37bd5af923f345ca71ec0fd874514ae08f759e23adfd
...

View File

@ -66,8 +66,10 @@ def trigger_docs():
],
'paths': {
'include': [
'*.md',
'docs/**',
'packages/**',
'latest.json',
],
},
}

View File

@ -62,7 +62,9 @@ trigger = {
],
'paths': {
'exclude': [
'*.md',
'docs/**',
'latest.json',
],
},
}