Skip to content

Commit

Permalink
fix: deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ONEPANTSU authored Mar 7, 2024
1 parent 7c7e896 commit 9b9277b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
echo "$SSH_PRIVATE_KEY" > ../private.key
sudo chmod 600 ../private.key
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
ssh-agent -s
ssh-add ../private.key
ssh -tt -i ../private.key ${{ env.SERVER_USER }}@${{ env.SERVER_HOST }}
echo "Connected"
shell: bash
Expand Down

0 comments on commit 9b9277b

Please sign in to comment.