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.
pull/6192/head
Marius Vikhammer 2020-10-22 10:32:54 +08:00 zatwierdzone przez bot
rodzic 0fb65d0bae
commit 71b24f0518
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

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