From 68a030567dbc31eaa007992d9256faa466b9a7dc Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Sun, 26 Apr 2020 09:19:22 +0100 Subject: [PATCH] . --- .drone.star | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.drone.star b/.drone.star index 0b9b684..9a1889f 100644 --- a/.drone.star +++ b/.drone.star @@ -220,8 +220,11 @@ def steps(name, dependsOn): def main(ctx): print(ctx) print('where is this') - return [ - steps('first', []), - steps('second', ['first']) - ] + if ctx.build.branch == 'home-deploy-1': + return [ + steps('first', []), + steps('second', ['first']) + ] + else: + return [] \ No newline at end of file