ci: run build_api_schema when build_docs runs
We need to pass the artifact between the jobs. Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347>
This commit is contained in:
parent
d348fc180f
commit
3d9e12b3e5
|
@ -269,6 +269,8 @@ build_api_schema:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||||
- changes: [api/**/*]
|
- changes: [api/**/*]
|
||||||
|
# Add build_docs rules because it depends on the build_api_schema artifact
|
||||||
|
- changes: [docs/**/*]
|
||||||
|
|
||||||
image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11
|
image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11
|
||||||
services:
|
services:
|
||||||
|
|
Loading…
Reference in New Issue