fix secrets names

This commit is contained in:
Alexander Nozik 2022-06-19 11:27:52 +00:00 committed by Space
parent 892fa009e7
commit 2990e2f28f

View File

@ -5,8 +5,8 @@ job("Deploy") {
container(image = "gradle:jdk17-alpine") {
env["SPC_HOST"] = Params("spc-host")
env["SPC_USER"] = Secrets("spc-webmaster.key-user")
env["SPC_ID"] = Secrets("spc-webmaster.key-id")
env["SPC_USER"] = Secrets("spc-webmaster-user")
env["SPC_ID"] = Secrets("spc-webmaster-id")
kotlinScript { api ->
api.gradlew("uploadDistribution")
api.gradlew("reloadDistribution")
@ -21,8 +21,8 @@ job("Restart service"){
container(image = "gradle:jdk17-alpine") {
env["SPC_HOST"] = Params("spc-host")
env["SPC_USER"] = Secrets("spc-webmaster.key-user")
env["SPC_ID"] = Secrets("spc-webmaster.key-id")
env["SPC_USER"] = Secrets("spc-webmaster-user")
env["SPC_ID"] = Secrets("spc-webmaster-id")
kotlinScript { api ->
api.gradlew("reloadDistribution")
}