deployment - Copy files recursively with grunt-ssh -


I try to use particle-ssh for deployment but I only get files of copied folder:

  sftp: {deploy: {files: {". /": "Doc / *"}, Options: {path: '& lt; % = Pkg.server.path%> ', Host:' & lt;% = pkg.server.host% & gt; ', Username:' & lt;% = pkg.server.user% & gt; ', Password:' & lt; *% = Pkg.server.password% & gt; How can I get the entire local folder including my subfolders (recursively)  Doctor , show progress: true, srcBasePath: 'doc /'}}}   

Remote copy is made?

Take a quick look at the sources to solve my problem:

  sftp : {Deploy: {files: {"./": "doc / **"}, Options: {path: '& lt;% = pkg.server Path% & gt; ', Host:' & lt;% = pkg.server.host% & gt; ', Username:' & lt;% = pkg.server.user% & gt; ', Password:' & lt;% = pkg.server .password% & gt; ', Show progress: true, srcBasePath:' doc / ', createDirectories: true}}}    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -