githubのプライベートリポジトリをLaravelのartisan経由で、Rocketeerでデプロイする時にハマったこと

Laravelのartisan経由でdeployしようとすると、デプロイコマンド実行しても結果が返ってこない・・・

どうやらdeployタスクが実行されるタイミングで、公開鍵のパスワードを入力してください・・・ のようなコマンドライン上での対話が発生してしまうと、デプロイが止まってしまってしまう模様。

rocketeerのリポジトリの設定ファイル

    // SCM repository
    //////////////////////////////////////////////////////////////////////

    // The SCM used (supported: "git", "svn")
    'scm' => 'git',

    // The SSH/HTTPS address to your repository
    // Example: https://github.com/vendor/website.git
    'repository' => 'git@github.com:Someone/MyApp.git',

    // The repository credentials : you can leave those empty
    // if you're using SSH or if your repository is public
    // In other cases you can leave this empty too, and you will
    // be prompted for the credentials on deploy
    'username'   => '', 
    'password'   => '', 

    // The branch to deploy
    'branch'     => 'master',

    // Whether your SCM should do a "shallow" clone of the repository
    // or not – this means a clone with just the latest state of your
    // application (no history)
    // If you're having problems cloning, try setting this to false
    'shallow' => true,

    // Recursively pull in submodules. Works only with GIT.
    'submodules' => true,
);

一旦公開鍵をパスフレーズなしで、作成したら、うまくいった。