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>
environments/review-docs-fix-w-p5ro6e/deployments/16934
jo 2023-01-30 19:13:20 +01:00
rodzic d348fc180f
commit 3d9e12b3e5
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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: