ci: build all docs if soc_caps.h changed

soc_caps.h is thightly coupled with the docs build. Should build all docs
after changing it to make sure nothing broke.
This commit is contained in:
Marius Vikhammer
2023-04-11 13:11:57 +08:00
parent be8727cf88
commit 73f895217b

View File

@ -3,6 +3,7 @@
- "docs/**/*" - "docs/**/*"
- "**/*.rst" - "**/*.rst"
- "CONTRIBUTING.rst" - "CONTRIBUTING.rst"
- "**/soc_caps.h"
.patterns-docs-partial: &patterns-docs-partial .patterns-docs-partial: &patterns-docs-partial
- "components/**/*.h" - "components/**/*.h"
@ -43,6 +44,9 @@
.doc-rules:build:docs-partial: .doc-rules:build:docs-partial:
rules: rules:
- <<: *if-dev-push
changes: *patterns-docs-full
when: never
- <<: *if-dev-push - <<: *if-dev-push
changes: *patterns-docs-partial changes: *patterns-docs-partial