This commit is contained in:
1 parent
695b77a670
commit
cf0f6e25e2
1 file changed
+1
-1
@@ -35,7 +35,7 @@ jobs:
|
||||
if [ ! -f /data/id_deploy ]; then echo "ERROR: /data/id_deploy 缺失,检查 runner 挂载"; exit 1; fi
|
||||
cp /data/id_deploy ~/.ssh/id_ed25519_deploy && chmod 600 ~/.ssh/id_ed25519_deploy
|
||||
ssh-keygen -lf ~/.ssh/id_ed25519_deploy
|
||||
ssh-keyscan -H 156.233.226.86 >> ~/.ssh/known_hosts 2>/dev/null
|
||||
ssh-keyscan -p 48222 -H 156.233.226.86 >> ~/.ssh/known_hosts 2>/dev/null
|
||||
echo "SSH 密钥就绪"
|
||||
|
||||
- name: Build images
|
||||
|
||||
Reference in new issue
Block a user