Răsfoiți Sursa

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.
Marius Vikhammer 5 ani în urmă
părinte
comite
e05164cb4f
1 a modificat fișierele cu 6 adăugiri și 3 ștergeri
  1. 6 3
      tools/ci/config/post_deploy.yml

+ 6 - 3
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: