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 (#36)

This commit is contained in:
shimataro 2019-11-23 12:56:45 +09:00 committed by GitHub
parent 790461e0f1
commit 1d03f1dc42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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