diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 47d29f8..1e163fd 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -13,9 +13,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install SSH client - run: apk add --no-cache openssh-client rsync - - name: Setup SSH env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} @@ -26,6 +23,13 @@ jobs: ssh-keyscan -p 22 "rchou.net" >> ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts + - name: Debug key + ssh + run: | + ssh -V + ls -la ~/.ssh + head -5 ~/.ssh/id_ed25519 + ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no deploy@rchou.net "echo ok" + - name: Test SSH run: ssh -i ~/.ssh/id_ed25519 deploy@rchou.net "echo 'SSH works!'"