From 8df8723e76cd7c9f236a4427af416547b0a31604 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Mon, 6 Mar 2023 11:44:20 +0800 Subject: [PATCH] ci: only run check_doc_links job if we actually deployed docs --- .gitlab/ci/docs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/docs.yml b/.gitlab/ci/docs.yml index 886547572e..11fd874741 100644 --- a/.gitlab/ci/docs.yml +++ b/.gitlab/ci/docs.yml @@ -212,8 +212,12 @@ deploy_docs_production: check_doc_links: extends: - .build_docs_template - - .rules:protected + rules: + - <<: *if-protected-no_label stage: post_deploy + needs: + - job: deploy_docs_production + artifacts: false tags: ["build", "amd64", "internet"] artifacts: when: always