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

This commit is contained in:
shimataro 2019-12-22 19:11:46 +09:00 committed by GitHub
parent c2f68a094e
commit a5366d553c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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