Closed SHSharkar closed 4 years ago
working fine for me here, seems you are passing it an wrong path, could you show your actions file?
Hello, I have copy-pasted your example snippet for running the script.
You had mentioned FOLDER: "build"
which I have not updated. I have just edited the server information to logging to the server.
Also if I leave empty the FOLDER
variables value, the rsync connects to the server and sending blank information to the server. So, overall, server is connected but the local files were not available for copying the local copy of source codes.
OK It seems, without passing the FOLDER
variables value, the information was correct.
While I ls
the $GITHUB_WORKSPACE
directory, the files were showing available to the /github/workspace
directory. Not in /github/workspace/build
ah yeah i'll update that example to specify that's only if you wana sync a specific subfolder, depends on the rest of the build pipeline/tools
Thanks for your prompt response. After receiving no solution, I have already created a new GitHub Action for the solution and published it to GitHub Marketplace.
But thanks for your reply.
just using folder: "./"
should do the trick to sync from the root
rsync: link_stat "/github/workspace/build" failed: No such file or directory (2) sending incremental file list rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
sent 18 bytes received 12 bytes 6.67 bytes/sec total size is 0 speedup is 0.00
[error]Docker run failed with exit code 23