dev:修改工作流

This commit is contained in:
liubocheng 2025-03-26 16:25:10 +08:00
parent d6d34f0e28
commit 37188b6799
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ jobs:
SSH_DIR="/home/runner/.ssh"
mkdir -p $SSH_DIR
echo "$SSH_PRIVATE_KEY" > $SSH_DIR/id_rsa
pwd
echo "$SSH_PRIVATE_KEY"
chmod 700 $SSH_DIR
chmod 600 $SSH_DIR/id_rsa
ssh-keyscan 43.142.97.39 >> $SSH_DIR/known_hosts