rsync-deploy
rsync-deploy copied to clipboard
rsync: link_stat "/github/workspace/***@" failed: No such file or directory (2)
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!
i think you need to do "./" (with the quotes) for folder
Thank you for your reply. But it doesn't work. Now it's FOLDER: "./"
and the problem is the same.