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.