scp-action
scp-action copied to clipboard
Don' t remove the target folder with option "rm", empty it instead
I don't think to remove the target folder and then recreate it is a good idea, consider empty the sub-files and sub-folders in the target folder.
I think this could avoid some problems like docker's mounting
Same here. I expect this behavior rsync -aczvAXHS --delete
, not rm the whole dir
up
I support this. After deleting/creating of Docker volume folder I have to restart Nginx container every time, unusable. I need to use ssh action to empty volume folder first, is there more elegant solution available? If I just use overwrite option I can accumulate build files with random names.