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:
parent
c2f68a094e
commit
a5366d553c
1 changed files with 2 additions and 4 deletions
6
.github/workflows/verify.yml
vendored
6
.github/workflows/verify.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue