update CD

This commit is contained in:
Alexander Nozik 2022-05-26 14:15:24 +00:00 committed by Space
parent 56822a3644
commit c75cbe7217

View File

@ -20,7 +20,8 @@ job("Deploy") {
shellScript { shellScript {
interpreter = "/bin/bash" interpreter = "/bin/bash"
content = """ content = """
echo ${'$'}ID | scp -r -i /dev/stdin /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt" echo ${'$'}ID > id.pub
scp -r -i id.pub /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt"
""".trimIndent() """.trimIndent()
} }
} }