A port of sshkit to Kotlin.
SshKt() {
on("1.example.com", "2.example.com") {
within("/opt/sites/example.com") {
asUser("deploy") {
execute('node socket_server.js')
}
}
}
}
cd sshkt
vagrant provision
vagrant up
cd .. && ./gradlew test