Przeglądaj źródła

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 lat temu
rodzic
commit
2ea5f522f3
1 zmienionych plików z 6 dodań i 3 usunięć
  1. 6 3
      tools/ci/config/deploy.yml

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

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