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
Post a Comment