fix: use pipeline trigger constraint for nightly builds
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-09-13 22:17:27 +02:00
parent b67a6a0616
commit 8aa871c868
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -44,6 +44,14 @@ platform:
clone: clone:
disable: true disable: true
trigger:
branch:
- master
event:
- cron
cron:
- nightly
steps: steps:
- name: call webhook - name: call webhook
pull: always pull: always
@ -55,13 +63,6 @@ steps:
- apk add --no-cache curl - apk add --no-cache curl
- curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it - curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it
- bash ./curl.it -n $ENDPOINT - bash ./curl.it -n $ENDPOINT
when:
branch:
- master
event:
- cron
cron:
- nightly
--- ---