From 71b24f0518a1e0a42e11ba4725c556b0942cbee4 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Thu, 22 Oct 2020 10:32:54 +0800 Subject: [PATCH] CI: Only run check_doc_links if we actually deployed Update the check_doc_links job run conditions to match github/doc deploy as a lot of the links link to github files. --- tools/ci/config/post_deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/ci/config/post_deploy.yml b/tools/ci/config/post_deploy.yml index b640ba288b..782e0b2ce6 100644 --- a/tools/ci/config/post_deploy.yml +++ b/tools/ci/config/post_deploy.yml @@ -1,8 +1,12 @@ .check_doc_links_template: - extends: .rules:protected + extends: .rules:protected-no_label stage: post_deploy image: $ESP_IDF_DOC_ENV_IMAGE tags: [ "build", "amd64", "internet" ] + needs: # ensure runs after push_to_github succeeded + - build_docs_html + - build_docs_pdf + - push_to_github artifacts: when: always paths: