deploy: Validate ssh key

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
Vitaliy Potyarkin 2024-08-29 13:01:26 +03:00
parent 5385c9531c
commit d0c993f2bb

View file

@ -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