From dc64ff3ccbb15e71b4b9cd2c3a9d2d309411612b Mon Sep 17 00:00:00 2001 From: Frank Xu Date: Thu, 14 Oct 2021 15:48:51 +0800 Subject: [PATCH] Fix #193 Add '-av' options for rsync command in the usage * Need to add '-r' or '-a' option for `rsync ./foo/ user@remote:bar/` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e3e615..be30a29 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ steps: config: ${{ secrets.CONFIG }} # ssh_config; optional if_key_exists: fail # replace / ignore / fail; optional (defaults to fail) - name: rsync over ssh - run: rsync ./foo/ user@remote:bar/ + run: rsync -av ./foo/ user@remote:bar/ ``` See [Workflow syntax for GitHub Actions](https://help.github.com/en/articles/workflow-syntax-for-github-actions) for details.