Browse Source

ci: Don't push to Github or deploy docs on customized pipelines

BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
Angus Gratton 5 năm trước cách đây
mục cha
commit
ad4dfed632
1 tập tin đã thay đổi với 6 bổ sung4 xóa
  1. 6 4
      tools/ci/config/deploy.yml

+ 6 - 4
tools/ci/config/deploy.yml

@@ -53,10 +53,12 @@ push_to_github:
   tags:
     - deploy
   only:
-    - master
-    - /^release\/v/
-    - /^v\d+\.\d+(\.\d+)?($|-)/
-    - feature/esp32s2beta
+    refs:
+      - master
+      - /^release\/v/
+      - /^v\d+\.\d+(\.\d+)?($|-)/
+    variables:
+      - $BOT_TRIGGER_WITH_LABEL == null
   when: on_success
   dependencies: []
   extends: .before_script_lesser