diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index f1c25f9..3e969a2 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -35,9 +35,11 @@ jobs: - name: Create directory run: | mkdir -p ~/.ssh/ - - name: Install SSH key to proper place + - name: Create file run: | touch ~/.ssh/id_rsa + - name: Install SSH key to proper place + run: | echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts - name: Connect and check