Issue with rsync and build file path
See original GitHub issueDescribe the bug
Please provide a clear and concise description of what the bug is.
While the action is processing, everything goes fine until near the end of the process it says:
rsync: change_dir "/home/runner/work/documentation/documentation//build" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
The deployment encountered an error. ❌
##[error]The process 'rsync' failed with exit code 23
Similar to issue #84
Reproduce
Steps to reproduce the behavior.
I’m not sure the exact steps to reproduce this, but my workflow files can be found here: 🔗
Expected behavior
Please provide a clear and concise description of what you expected to happen.
I expected it to move into the folder .../documentation/build
then deploy as expected
Screenshots
If applicable, add screenshots to help explain your problem.
Error is same as #84 but I can provide screen shots if necessary, too.
Additional Comments
Add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:9 (5 by maintainers)
Top Results From Across the Web
rsync does not recognize windows path - Stack Overflow
Rsync has a problem with absolute paths in Windows. I had the exact same problem when using rsync on Windows (Windows 10 64-bit)....
Read more >How we tackle rsync no such file or directory - Bobcares
1. First, ensure that the file or folder that is mentioned is available. 2. Also, we check whether the path or the location...
Read more >Rsync path with () - linux - Super User
Check the file paths to make sure they are correct. It's saying /cygdrive/etc doesn't exist. – Ben M. Jul 28, 2017 at 16:56....
Read more >rsync - Linux Man Pages Online
Rsync finds files that need to be transferred using a "quick check" algorithm ... --temp-dir=DIR create temporary files in directory DIR -y, --fuzzy...
Read more >rsync - Synchronize content of two buckets/directories
This can cause various problems: If you use gsutil rsync as a simple way to backup a directory to a bucket, restoring from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was just about to post about that, haha That was exactly the answer! thanks for all your help!
Aha, I think I know the issue here. This is because you have two jobs named
build
anddeploy
. You’re building the site to deploy in thebuild
job, but thedeploy
job is almost as-if it’s a fresh start and doesn’t have access to the project. If you need to build your site using a different operating system you can pass the built directory from one to another using artifacts (see docs here), but if not you can just combine the two to fix this.Additionally if you see the site deploy correctly but you don’t see your changes you may need to use the
ACCESS_TOKEN
key instead: https://github.com/JamesIves/github-pages-deploy-action#configuration-