Hi,
I want to use rake to deploy a .net website to a windows server... Bit new at this and getting stuck with the very simple stuff...
How would I copy a directory from a local folder to a different windows server?
At the moment I have:
task :default => :CWS_Web_application
desc 'Depoly CWS Web application to preview environment'
task :CWS_Web_application do
sh "echo Depoly CWS Web application to preview environment"
mv('MyDirectory', '//servername/c$/foldername', :verbose => true)
end
This obviously doesn't work - I believe the problem being the server path: '//servername/c$/foldername'
Can anyone point me in the right direction?