1
0
forked from SPC/spc-site

Update CD

This commit is contained in:
Alexander Nozik 2022-06-15 16:39:31 +00:00 committed by Space
parent 4f85177c0a
commit 9495fdb96e

View File

@ -43,7 +43,7 @@ job("Restart service"){
content = """ content = """
echo ${'$'}ID > id.key echo ${'$'}ID > id.key
chmod 400 id.key chmod 400 id.key
ssh -i id.key -o StrictHostKeyChecking=no -t "${'$'}USER@${'$'}HOST" "systemctl restart sciprog-site" ssh -i id.key -t "${'$'}USER@${'$'}HOST" "systemctl restart sciprog-site"
""".trimIndent() """.trimIndent()
} }
} }