From 482f9fd85f20d9b3d4f9c8cf7233dae31d82df85 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 13 Sep 2020 20:29:49 +0200 Subject: [PATCH] fix: correct constraints for cron and push runs --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index b09cc96..a723092 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,9 +11,6 @@ clone: trigger: branch: - master - event: - - push - - cron ref: exclude: - ref/tags/** @@ -27,6 +24,10 @@ steps: from_secret: dockerhub_endpoint commands: - curl -s -X POST $ENDPOINT + when: + event: + - push + - cron ---