rsync-deploy icon indicating copy to clipboard operation
rsync-deploy copied to clipboard

rsync: link_stat "/github/workspace/***@" failed: No such file or directory (2)

Open 404-error-404 opened this issue 3 years ago • 2 comments

Hello. I have a problem:

rsync: link_stat "/github/workspace/***@" 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]

And my config file is:

- name: Deploy to Server
  uses: AEnterprise/[email protected]
  env:
    DEPLOY_KEY: ${{ secrets.CREATIVE_KEY }} 
    ARGS: -avz --delete --exclude='*.pyc'
    SERVER_PORT: "22"
    FOLDER: ./
    SERVER_IP: ${{ secrets.CREATIVE_HOST }}
    USERNAME: ${{ secrets.CREATIVE_USERNAME }}
    SERVER_DESTINATION: /home/***/***/

Although the files will be synced to the server, Github Actions will report an error. Thank you for pay attention to my question!

404-error-404 avatar Mar 16 '21 01:03 404-error-404

i think you need to do "./" (with the quotes) for folder

AEnterprise avatar Mar 16 '21 17:03 AEnterprise

Thank you for your reply. But it doesn't work. Now it's FOLDER: "./" and the problem is the same.

404-error-404 avatar Mar 19 '21 01:03 404-error-404