feat: refactor .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

* fix yaml indentation
This commit is contained in:
surtur 2021-01-14 01:44:45 +01:00
parent b242a85230
commit 4e18bba4ac
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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