Skip to content

Commit

Permalink
add eval ssh-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
bruecksen authored May 31, 2024
1 parent f30b0c3 commit 4676a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USERNAME: ${{ secrets.SSH_USER }}
run: |
eval `ssh-agent -s`
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
ssh-keyscan -H "$SSH_HOST" >> ~/.ssh/known_hosts
ssh $SSH_USERNAME@$SSH_HOST '
Expand Down

0 comments on commit 4676a72

Please sign in to comment.