Просмотр исходного кода

Merge branch 'bugfix/check_doc_links_no_deploy' into 'master'

CI: Only run check_doc_links if we actually deployed

Closes IDFCI-169

See merge request espressif/esp-idf!10939
Angus Gratton 5 лет назад
Родитель
Сommit
53fa8da673
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      tools/ci/config/post_deploy.yml

+ 5 - 1
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: