diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2be1b73..652f655 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,7 @@ jobs: mkdir ~/.ssh touch ~/.ssh/known_hosts touch ~/.ssh/pkey - echo ${{ secrets.SECRET_PUB }} >> ~/.ssh/known_hosts - echo ${{ secrets.SECRET_PRIVATE_SSH }} > ~/.ssh/pkey - \ No newline at end of file + echo "${{ secrets.SECRET_PUB }}" >> ~/.ssh/known_hosts + echo "${{ secrets.SECRET_PRIVATE_SSH }}" > ~/.ssh/pkey + eval "$(ssh-agent -s)" + ssh-add ~/.ssh/pkey \ No newline at end of file