From 6fe344068b361e1051ab32fe052e32cb29ca054b Mon Sep 17 00:00:00 2001 From: Iaroslav Postovalov Date: Tue, 22 Dec 2020 21:05:24 +0700 Subject: [PATCH] Add branch filter --- .space.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.space.kts b/.space.kts index b9c4c11d1..db882f8ed 100644 --- a/.space.kts +++ b/.space.kts @@ -1,4 +1,12 @@ job("Publish") { + startOn { + gitPush { + branchFilter { + +"dev" + } + } + } + gradlew("openjdk:11", "publish") { env["SPACE_USER"] = Secrets("space_user") env["SPACE_TOKEN"] = Secrets("space_token")