From e05164cb4f171d712d5344bd0bdf65ca681de6be 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/ci/config/post_deploy.yml b/tools/ci/config/post_deploy.yml index e35c823c1d..e2e9e53106 100644 --- a/tools/ci/config/post_deploy.yml +++ b/tools/ci/config/post_deploy.yml @@ -3,9 +3,12 @@ image: $ESP_IDF_DOC_ENV_IMAGE tags: [ "build", "amd64", "internet" ] only: - - master - - /^release\/v/ - - /^v\d+\.\d+(\.\d+)?($|-)/ + refs: + - master + - /^release\/v/ + - /^v\d+\.\d+(\.\d+)?($|-)/ + variables: + - $BOT_TRIGGER_WITH_LABEL == null artifacts: when: always paths: