From 8aa871c8681b361281ded014590a7310880c42b2 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 13 Sep 2020 22:17:27 +0200 Subject: [PATCH] fix: use pipeline trigger constraint for nightly builds --- .drone.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 151a78b..98beebe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,6 +44,14 @@ platform: clone: disable: true +trigger: + branch: + - master + event: + - cron + cron: + - nightly + steps: - name: call webhook pull: always @@ -55,13 +63,6 @@ steps: - apk add --no-cache curl - curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it - bash ./curl.it -n $ENDPOINT - when: - branch: - - master - event: - - cron - cron: - - nightly ---