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

* update verify for ssh_config

This commit is contained in:
shimataro 2019-12-22 19:10:11 +09:00
parent c2f68a094e
commit 81b444026a
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -40,8 +40,8 @@ jobs:
with:
private-key: ${{ secrets.SSH_KEY }}
public-key: ${{ secrets.SSH_KEY_PUBLIC }}
name: ssh_key_name # optional
known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional
name: ssh_key_name # optional
config: | # optional
Host github
Hostname github.com
@ -50,6 +50,4 @@ jobs:
- 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
run: git clone github:shimataro/ssh-key-action.git tmp