Automator操作连接到远程服务器并运行svn update

时间:2012-03-04 17:19:10

标签: svn automator

我有许多使用Subversion管理的网站,并希望简化在远程服务器上运行更新的过程。即我想拥有automator启动终端,使用SSH连接到远程服务器,然后在特定文件夹中运行svn update ...

任何想法都非常感谢! :)

2 个答案:

答案 0 :(得分:0)

您可以使用ssh进行公钥认证,并基于post-commit-hook运行,该post-commit-hook在特定服务器上远程运行更新。

答案 1 :(得分:0)

谢谢大家!我似乎在这里详述的方法中找到了解决方案:

Sending commands and strings to Terminal.app with Applescript

:)

相关问题