Skip to content

Commit db4b526

Browse files
authored
Update deploy-action.yml
1 parent 854c42d commit db4b526

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy-action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ jobs:
3333
mkdir -p ~/.ssh
3434
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
3535
chmod 600 ~/.ssh/id_rsa
36+
ssh-keyscan 51.254.117.6 >> ~/.ssh/known_hosts
3637
ssh -i ~/.ssh/id_rsa debian@51.254.117.6 "cd /home/debian && git pull origin main && ./install.sh"

0 commit comments

Comments
 (0)