Update CD

This commit is contained in:
Alexander Nozik 2022-06-15 17:40:33 +00:00 committed by Space
parent ddc0f58b34
commit 84848f611e

View File

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