From 2036292407f2e59372465469396fe5fe6e0adfcd Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Tue, 2 Jul 2019 12:53:53 +0200 Subject: [PATCH] Include 'promote' event to include 'cron' Without the promote event, cron will end up in the actual configuration. This can be tested by running the 'drone fmt' command on the .drone.yml file. Also mentioned here: https://github.com/drone/drone/issues/2705 --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 24dc8b1..0326d3b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,8 @@ steps: - echo test trigger: + event: + - promote cron: - update-repository-every-hour @@ -70,7 +72,6 @@ volumes: trigger: event: - exclude: - - "*" + - promote cron: - learn-new-models-every-day