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

* update test

This commit is contained in:
shimataro 2019-12-22 18:16:47 +09:00
parent 80a12c6832
commit bb783ed932
No known key found for this signature in database
GPG key ID: BE92C05736911A9D

View file

@ -42,9 +42,12 @@ jobs:
public-key: ${{ secrets.SSH_KEY_PUBLIC }} public-key: ${{ secrets.SSH_KEY_PUBLIC }}
name: ssh_key_name # optional name: ssh_key_name # optional
known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional
config: | # optional
Host github
Hostname github.com
User git
IdentityFile ~/.ssh/ssh_key_name
- 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