forked from SPC/spc-site
Update CD
This commit is contained in:
parent
ba883b5b11
commit
0f223da648
@ -21,6 +21,7 @@ job("Deploy") {
|
|||||||
interpreter = "/bin/bash"
|
interpreter = "/bin/bash"
|
||||||
content = """
|
content = """
|
||||||
echo ${'$'}ID > id.key
|
echo ${'$'}ID > id.key
|
||||||
|
chmod 400 id.key
|
||||||
scp -r -i id.key /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt"
|
scp -r -i id.key /mnt/space/share/spc-site/ "${'$'}USER@${'$'}HOST:/opt"
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user