From ebfbb9befb5259dfe4c3b939d90ac5117ea4e37b Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 9 Oct 2023 19:05:08 +0900 Subject: [PATCH] update README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d9d8697..59c4e88 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ steps: known_hosts: ${{ secrets.KNOWN_HOSTS }} config: ${{ secrets.CONFIG }} # ssh_config; optional if_key_exists: fail # replace / ignore / fail; optional (defaults to fail) + keep_ssh_dir: true # true / false; optional (defaults to false) - name: rsync over SSH run: rsync -r ./foo/ user@remote:bar/ ``` @@ -104,6 +105,10 @@ Use `if_key_exists` parameter. * `ignore`: does nothing * `fail`: fails (default) +### I don't want to remove `.ssh` directory on exit. + +Set `keep_ssh_dir` to true. + ### How do I use encrypted SSH key? This action doesn't support encrypted key directly.