1
0
forked from SPC/spc-site

update CD

This commit is contained in:
Alexander Nozik 2022-05-27 07:40:25 +00:00 committed by Space
parent 72bd67797c
commit 6bcf7d6092

View File

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