1
0
Fork 0
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:
shimataro 2019-09-29 12:17:19 +09:00
parent 896aee35b5
commit 21885acb94
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -21,10 +21,11 @@ steps:
private-key: ${{ secrets.SSH_KEY }} private-key: ${{ secrets.SSH_KEY }}
public-key: ${{ secrets.SSH_KEY_PUBLIC }} public-key: ${{ secrets.SSH_KEY_PUBLIC }}
name: id_rsa # optional name: id_rsa # optional
known-hosts: "" # optional
- name: Install packages - name: Install packages
run: apt install openssh-client rsync run: apt install openssh-client rsync
- name: rsync over ssh - name: rsync over ssh
run: rsync -e "ssh -o StrictHostKeyChecking=no" ./foo/ user@remote:bar/ run: rsync ./foo/ user@remote:bar/
``` ```
See [Workflow syntax for GitHub Actions](https://help.github.com/en/articles/workflow-syntax-for-github-actions) for details. See [Workflow syntax for GitHub Actions](https://help.github.com/en/articles/workflow-syntax-for-github-actions) for details.