diff --git a/.github/workflows/wiki_test.yml b/.github/workflows/wiki_test.yml index 49a64e693..5a57ae2ab 100644 --- a/.github/workflows/wiki_test.yml +++ b/.github/workflows/wiki_test.yml @@ -30,11 +30,13 @@ jobs: setup-ssh: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - # Make sure the @v0.7.0 matches the current version of the action - - uses: webfactory/ssh-agent@v0.8.0 - with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Setup SSH + run: | + mkdir -p ~/.ssh + echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + ssh-keyscan -H rettichlp.de >> ~/.ssh/known_hosts + cat ~/.ssh/id_rsa deploy: runs-on: ubuntu-latest needs: [ build,setup-ssh ]