forked from SPC/spc-site
Experiment with CD
This commit is contained in:
parent
84848f611e
commit
a5121b8637
@ -43,7 +43,7 @@ job("Restart service"){
|
||||
content = """
|
||||
echo ${'$'}ID > id_ed25519
|
||||
chmod 400 id_ed25519
|
||||
cat id_ed25519
|
||||
echo "$(cat id_ed25519)"
|
||||
ssh -i id_ed25519 -o StrictHostKeyChecking=no -o HostKeyAlgorithms=ssh-ed25519 -t "${'$'}USER@${'$'}HOST" "systemctl restart sciprog-site"
|
||||
""".trimIndent()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user