From 49556b3cb334bf305351db334aae1043fab369dd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 3 Jun 2020 08:47:26 -0700 Subject: drone: Use $DRONE_SOURCE_BRANCH instead of hardcoding branch Signed-off-by: Khem Raj --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7f14e38..4f0eb70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ trigger: steps: - name: build commands: - - git clone --recurse-submodules -j8 -b master git://github.com/YoeDistro/yoe-distro.git yoe + - git clone --recurse-submodules -j8 -b $DRONE_SOURCE_BRANCH git://github.com/YoeDistro/yoe-distro.git yoe - cd yoe - git checkout master - git pull -- cgit v1.2.3-54-g00ecf