update publishing script
This commit is contained in:
parent
7d130dbecb
commit
a5618726bf
13
.space.kts
13
.space.kts
@ -6,5 +6,16 @@ job("Publish"){
|
||||
startOn {
|
||||
gitPush { enabled = false }
|
||||
}
|
||||
gradlew("openjdk:11", "publishAllPublicationsToSpaceRepository")
|
||||
container("openjdk:11") {
|
||||
kotlinScript { api ->
|
||||
api.space().projects.automation.deployments.start(
|
||||
project = api.projectIdentifier(),
|
||||
targetIdentifier = TargetIdentifier.Key("gradle-tools"),
|
||||
version = "current",
|
||||
// automatically update deployment status based on a status of a job
|
||||
syncWithAutomationJob = true
|
||||
)
|
||||
api.gradlew("publishAllPublicationsToSpaceRepository")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user