mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* update version in README
This commit is contained in:
parent
9498a2547e
commit
6faf563074
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ Add your SSH key to your product secrets by clicking `Settings` - `Secrets` - `A
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v1
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
private-key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa # optional
|
||||
|
@ -48,7 +48,7 @@ It is useful for port forwarding.
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install SSH key of bastion
|
||||
uses: shimataro/ssh-key-action@v1
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
private-key: ${{ secrets.SSH_KEY_OF_BASTION }}
|
||||
name: id_rsa-bastion
|
||||
|
@ -59,7 +59,7 @@ steps:
|
|||
User user-of-bastion
|
||||
IdentityFile ~/.ssh/id_rsa-bastion
|
||||
- name: Install SSH key of target
|
||||
uses: shimataro/ssh-key-action@v1
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
private-key: ${{ secrets.SSH_KEY_OF_TARGET }}
|
||||
name: id_rsa-target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue