This commit is contained in:
parent
8be4d20038
commit
78b447d049
@ -15,6 +15,7 @@ steps:
|
|||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache git openssh
|
- apk add --no-cache git openssh
|
||||||
|
- mkdir -p $HOME/.ssh
|
||||||
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
||||||
- chmod 600 $HOME/.ssh/known_hosts
|
- chmod 600 $HOME/.ssh/known_hosts
|
||||||
- ssh-keyscan -H git.neur0tx.site > ~/.ssh/known_hosts 2> /dev/null
|
- ssh-keyscan -H git.neur0tx.site > ~/.ssh/known_hosts 2> /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user