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) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -