fix build 5
This commit is contained in:
@@ -183,6 +183,7 @@ jobs:
|
||||
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
|
||||
key_fingerprint="$(ssh-keygen -lf ~/.ssh/id_rsa.pub | awk '{print $2}')"
|
||||
echo "Loaded deploy key fingerprint: $key_fingerprint"
|
||||
echo "Deploy public key: $(cat ~/.ssh/id_rsa.pub)"
|
||||
touch ~/.ssh/known_hosts
|
||||
ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
@@ -382,6 +383,7 @@ jobs:
|
||||
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
|
||||
key_fingerprint="$(ssh-keygen -lf ~/.ssh/id_rsa.pub | awk '{print $2}')"
|
||||
echo "Loaded deploy key fingerprint: $key_fingerprint"
|
||||
echo "Deploy public key: $(cat ~/.ssh/id_rsa.pub)"
|
||||
touch ~/.ssh/known_hosts
|
||||
ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
Reference in New Issue
Block a user