From 3d9e12b3e5ac4e1b1a06b60c547ef4d818edb317 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 30 Jan 2023 19:13:20 +0100 Subject: [PATCH] ci: run build_api_schema when build_docs runs We need to pass the artifact between the jobs. Part-of: --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e9622b96..bc832a67e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: