0
リモートマシンにスクリプトをデプロイして自動的に実行したい。sbtスクリプトでリモートsshコマンドを実行するには?
しかし、リモートコマンドをどのように発行できるかわかりません。
私はいくつかのことを試しましたが、プラグインは動作しませんでした。
これを行う方法はありますか?ここで
val deployAndRunTask = TaskKey[Unit]("deploy-run", "Deploy and run application.")
deployAndRunTask := {
// Deploy .jar file
val _ = deployTask.value
println("Running the script ..")
}