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

View File

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

View File

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