github-action-scp
github-action-scp copied to clipboard
Allow zipping directories before transfer
While transferring directories, this tool appears to sending each file individually – this is very slow for directories with a large number of files. By zipping the directory before transfer and unzipping it on the remote host afterwards, I was able to optimise the workflow from about 5 minutes to just 50 seconds on a directory with about 270 files.
This was done by combining this action with github-action-ssh for the subsequent unzip (see workflow file). It would be great if the functionality can be offered as part of this action.