problem with destination directory
Closed this issue · 2 comments
miguelsmuller commented
When I deploy to production the grunt-rsync creates a new directory to place the files. but I need it to just put the files without creating the directory on the target directory.
How I can do this?
jedrichards commented
Try putting a /
at the end of the dest path. So src and dest options a bit like,
{
src: "dist/",
dest: "/var/www/site/"
}
should copy the contents of dist
into the site
folder, assuming the site
folder already exists ...
miguelsmuller commented
It really was that.
Sorry for the inconvenience. Silly question.
Source directory was set to a variable without "/"