Fix SSH key setup in deployment workflow
Deploy to Production / deploy (push) Failing after 10s Details

This commit is contained in:
Mark 2026-04-08 22:15:17 +02:00
parent 2e3942ff0d
commit 6ddef43d2a
1 changed files with 2 additions and 1 deletions

View File

@ -16,8 +16,9 @@ jobs:
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
- name: Deploy to Production Server
run: |