Search code examples
phpdeploymentphing

Are there ssh and scp tasks available for phing?


I would like to do remote deployment from my build machine onto a server. The remoting can be done via ssh commands from a script, but I would rather use phing and a deploy.xml file that would do the automation.

What alternatives do I have to do ssh (and also scp) tasks from within a phing build file?


Solution

  • If you really need phing, then afaik there's only exec. If you are open for other tools, have a look at capistrano and my answer in "Setting up a PHP web project, the infrastructure.".