0

I have a number of sites managed with Subversion and want to simplify the process of running an update on the remote server. i.e I want to have automator launch terminal, connect to a remote server with SSH and then run svn update in a specific folder...

Any ideas greatly appreciated! :)

Nathan Pitman
  • 2,286
  • 4
  • 30
  • 46
  • That doesn't give me any control over when svn update runs though, I want it to be a manual process but I'm looking to reduce the key presses required to make it happen. :) – Nathan Pitman Mar 04 '12 at 17:31
  • Ah, sorry, I didn't realise "automator" was a thing. I assumed you just meant "automatic"! – Oliver Charlesworth Mar 04 '12 at 17:32
  • Is it windows-based (at your side) solution? – Lazy Badger Mar 04 '12 at 18:41
  • Sorry, yes lack on context. Automator is an OS X app which allows you to use a drag/drop interface to create automated processes which can run as workflows, service or applications (http://en.wikipedia.org/wiki/Automator_(software)). – Nathan Pitman Mar 05 '12 at 14:07

2 Answers2

0

You can use public key authentication with ssh and run based on a post-commit-hook which remotely runs an update on the particular server.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
0

Thanks all! I seems to have found a solution in the approach detailed here:

Sending commands and strings to Terminal.app with Applescript

:)

Community
  • 1
  • 1
Nathan Pitman
  • 2,286
  • 4
  • 30
  • 46