File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 3535 key : ${{ secrets.SSH_PRIVATE_KEY }}
3636 name : key_id_main
3737 known_hosts : ${{ secrets.KNOWN_HOSTS }}
38+ config : |
39+ Host main
40+ HostName ${{ secrets.SSH_HOST }}
41+ User ${{ secrets.SSH_USER }}
42+ IdentityFile ~/.ssh/key_id_main
3843 # - name: Adding main key to known hosts
3944 # run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
4045
4651 key : ${{ secrets.SSH_PRIVATE_KEY_US }}
4752 name : key_id_mirror
4853 known_hosts : ${{ secrets.KNOWN_HOSTS_US }}
54+ config : |
55+ Host mirror
56+ HostName ${{ secrets.SSH_HOST_US }}
57+ User ${{ secrets.SSH_USER }}
58+ IdentityFile ~/.ssh/key_id_mirror
4959 # - name: Adding mirror key to known hosts
5060 # run: ssh-keyscan -H ${{ secrets.SSH_HOST_US }} >> ~/.ssh/known_hosts
5161
You can’t perform that action at this time.
0 commit comments