From 553a35bb8ec61f0bc6335b2eacd26df508db6f8d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Fri, 11 Dec 2020 20:23:12 +0100 Subject: [PATCH] switched to custom clone logic ref #23 --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 166e33e..b9cf924 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,13 +2,13 @@ kind: pipeline name: tests:latest clone: - branch: $DRONE_SOURCE_BRANCH + disable: true steps: -# - name: checkout pr -# image: alpine/git -# commands: -# - git clone $DRONE_REMOTE_URL -# - git checkout +- name: checkout pr + image: alpine/git + commands: + - git clone $DRONE_REMOTE_URL + - git checkout $DRONE_SOURCE_BRANCH - name: run tests image: node:alpine commands: