From 2b2a248396a841518fc6e90f7e71debc7608dcce Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 14 Apr 2020 16:20:56 +0200 Subject: [PATCH] Move to shorter config --- .drone.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index cd67f1b..71585af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,22 +1,13 @@ --- kind: pipeline - name: default - steps: - - name: Build Drone docker runner docker image - image: docker:stable - volumes: - - name: docker_sock - path: /var/run/docker.sock - commands: - - docker build --no-cache -t autonomic/drone-docker-runner:drone . - - name: Deploy Drone docker runner with Dokku image: appleboy/drone-git-push:0.2.0-linux-amd64 settings: remote: ssh://dokku@dokku.autonomic.zone:222/drone-docker-runner ssh_key: from_secret: drone_deploy_key - when: - branch: master + trigger: + branch: + - master