From eb531fef58c3bbbde23de90ad58fb9dd1e8809b2 Mon Sep 17 00:00:00 2001 From: shimataro Date: Fri, 17 Jan 2020 22:10:04 +0900 Subject: [PATCH] * update README --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index b61f4c0..8289253 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ steps: uses: shimataro/ssh-key-action@v1 with: private-key: ${{ secrets.SSH_KEY }} - public-key: ${{ secrets.SSH_KEY_PUBLIC }} name: id_rsa # optional known-hosts: ${{ secrets.KNOWN_HOSTS }} # known_hosts; optional config: ${{ secrets.CONFIG }} # ssh_config; optional @@ -42,7 +41,7 @@ See [Workflow syntax for GitHub Actions](https://help.github.com/en/articles/wor If you want to install multiple keys, call this action multiple times. It is useful for port forwarding. -**NOTE:** When this action is called multiple times, **the contents of `known-hosts` and `config` will be appended**. But `public-key` and `private-key` must be saved as different name, by using `name` option. +**NOTE:** When this action is called multiple times, **the contents of `known-hosts` and `config` will be appended**. But `private-key` must be saved as different name, by using `name` option. ```yaml runs-on: ubuntu-latest @@ -51,7 +50,6 @@ steps: uses: shimataro/ssh-key-action@v1 with: private-key: ${{ secrets.SSH_KEY_OF_BASTION }} - public-key: ${{ secrets.SSH_KEY_OF_BASTION_PUBLIC }} name: id_rsa-bastion known-hosts: ${{ secrets.KNOWN_HOSTS_OF_BASTION }} config: | @@ -63,7 +61,6 @@ steps: uses: shimataro/ssh-key-action@v1 with: private-key: ${{ secrets.SSH_KEY_OF_TARGET }} - public-key: ${{ secrets.SSH_KEY_OF_TARGET_PUBLIC }} name: id_rsa-target known-hosts: ${{ secrets.KNOWN_HOSTS_OF_TARGET }} # will be appended! config: | # will be appended!