1
0
forked from SPC/spc-site

Update CD

This commit is contained in:
Alexander Nozik 2022-05-26 14:53:09 +00:00 committed by Space
parent c75cbe7217
commit 7826311893

View File

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