diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e3325e3..6740511 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,4 +17,6 @@ jobs: run: | mkdir ~/.ssh touch ~/.ssh/known_hosts - echo ${{ secrets.SECRET_PUB }} >> ~/.ssh/known_hosts \ No newline at end of file + echo ${{ secrets.SECRET_PUB }} >> ~/.ssh/known_hosts + eval "$(ssh-agent -s)" + ssh-add ${{ secrets.SECRET_PRIVATE_SSH }} \ No newline at end of file