update build
This commit is contained in:
parent
e8b9a35a61
commit
2ed8586cb1
13
.space.kts
13
.space.kts
@ -2,10 +2,12 @@ job("Deploy") {
|
||||
startOn {
|
||||
gitPush { enabled = false }
|
||||
}
|
||||
|
||||
gradlew("openjdk:11", "installDist")
|
||||
|
||||
container(displayName = "Deploy via scp", image = "openjdk:11") {
|
||||
|
||||
container(image = "openjdk:11") {
|
||||
kotlinScript { api ->
|
||||
api.gradlew("installDist")
|
||||
}
|
||||
|
||||
env["HOST"] = Params("spc-host")
|
||||
env["USER"] = Secrets("spc-webmaster-user")
|
||||
env["ID"] = Secrets("spc-webmaster-id")
|
||||
@ -14,8 +16,7 @@ job("Deploy") {
|
||||
interpreter = "/bin/bash"
|
||||
content = """
|
||||
ls -la
|
||||
""".trimIndent()
|
||||
""".trimIndent()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user