mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
update README
This commit is contained in:
parent
49901f9ff6
commit
ebfbb9befb
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue