diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3052348..53b6c59 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -86,12 +86,18 @@ jobs: - name: Cleanup SSH Directory run: rm -rf ~/.ssh + # - name: Install SSH Key + # uses: shimataro/ssh-key-action@v2.7.0 + # with: + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # # known_hosts: "just-a-placeholder-so-we-dont-get-errors" + # known_hosts: ${{ secrets.SSH_HOST }} + - name: Install SSH Key uses: shimataro/ssh-key-action@v2.7.0 with: key: ${{ secrets.SSH_PRIVATE_KEY }} - # known_hosts: "just-a-placeholder-so-we-dont-get-errors" - known_hosts: ${{ secrets.SSH_HOST }} + strict: false - name: Adding Known Hosts run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts