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:
jo 2023-01-30 19:13:20 +01:00
parent d348fc180f
commit 3d9e12b3e5
1 changed files with 2 additions and 0 deletions

View File

@ -269,6 +269,8 @@ build_api_schema:
rules:
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
- 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
services: