1
0
forked from SPC/spc-site

update CD

This commit is contained in:
Alexander Nozik 2022-05-26 15:27:50 +00:00 committed by Space
parent 7826311893
commit d06cc8d359

View File

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