forked from SPC/spc-site
update build
This commit is contained in:
parent
e8b9a35a61
commit
2ed8586cb1
@ -3,9 +3,11 @@ job("Deploy") {
|
|||||||
gitPush { enabled = false }
|
gitPush { enabled = false }
|
||||||
}
|
}
|
||||||
|
|
||||||
gradlew("openjdk:11", "installDist")
|
container(image = "openjdk:11") {
|
||||||
|
kotlinScript { api ->
|
||||||
|
api.gradlew("installDist")
|
||||||
|
}
|
||||||
|
|
||||||
container(displayName = "Deploy via scp", image = "openjdk:11") {
|
|
||||||
env["HOST"] = Params("spc-host")
|
env["HOST"] = Params("spc-host")
|
||||||
env["USER"] = Secrets("spc-webmaster-user")
|
env["USER"] = Secrets("spc-webmaster-user")
|
||||||
env["ID"] = Secrets("spc-webmaster-id")
|
env["ID"] = Secrets("spc-webmaster-id")
|
||||||
@ -17,5 +19,4 @@ job("Deploy") {
|
|||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user