From ad4dfed63239e5b73f8c647da64942f204decb4b Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 22 May 2020 15:04:39 +1000 Subject: [PATCH] ci: Don't push to Github or deploy docs on customized pipelines BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running). --- tools/ci/config/deploy.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/ci/config/deploy.yml b/tools/ci/config/deploy.yml index 6671981732..4964e388b0 100644 --- a/tools/ci/config/deploy.yml +++ b/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