From 4e18bba4ac0c40f2ab309fb4d5946d5a48def01e Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 14 Jan 2021 01:44:45 +0100 Subject: [PATCH] feat: refactor .drone.yml * fix yaml indentation --- .drone.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 41e4848..e3d363a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,6 @@ --- kind: pipeline +type: docker name: dockerhub-build-trigger platform: @@ -9,13 +10,6 @@ platform: clone: disable: true -trigger: - branch: - - master - event: - - push - - cron - steps: - name: call webhook pull: always @@ -24,6 +18,13 @@ steps: ENDPOINT: from_secret: DOCKERHUB_ENDPOINT commands: - - apk add --no-cache curl - - curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it - - bash ./curl.it $ENDPOINT + - apk add --no-cache curl + - curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it + - bash ./curl.it $ENDPOINT + +trigger: + branch: + - master + event: + - push + - cron