1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* change SSH key name

This commit is contained in:
shimataro 2019-11-23 12:52:31 +09:00
parent 790461e0f1
commit bd11da13e8
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -40,9 +40,11 @@ jobs:
with:
private-key: ${{ secrets.SSH_KEY }}
public-key: ${{ secrets.SSH_KEY_PUBLIC }}
name: id_rsa # optional
name: ssh_key_name # optional
known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional
- name: print created files
run: ls ~/.ssh
- name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
env:
GIT_SSH_COMMAND: ssh -i ~/.ssh/ssh_key_name