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.
This commit is contained in:
Marius Vikhammer 2020-10-22 10:32:54 +08:00 committed by bot
parent 0fb65d0bae
commit 71b24f0518

View File

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