diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d3ea386..489b1fb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,7 @@ jobs: SECRET_PORT: ${{ secrets.SECRET_PORT }} SECRET_PRIVATE_SSH: ${{ secrets.SECRET_PRIVATE_SSH }} run: | + mkdir ~/.ssh touch ~/.ssh/known_hosts ssh-keyscan ${{ secrets.SECRET_HOST }} >> ~/.ssh/known_hosts eval "$(ssh-agent -s)"