forked from TrueCloudLab/frostfs.info
deploy: Validate ssh key
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
parent
5385c9531c
commit
d0c993f2bb
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ jobs:
|
|||
ssh-keyscan frostfs.info >> ~/.ssh/known_hosts
|
||||
ssh-agent -a "$SSH_AUTH_SOCK"
|
||||
echo "${{ secrets.SSH_DEPLOY_KEY }}" > ~/.ssh/key
|
||||
stat ~/.ssh/key
|
||||
ssh-keygen -y -f ~/.ssh/key
|
||||
ssh-add ~/.ssh/key
|
||||
rm ~/.ssh/key
|
||||
|
||||
|
|
Loading…
Reference in a new issue