Fix rsync SSH port parameter escaping
Deploy to Production / deploy (push) Failing after 12s Details

This commit is contained in:
Mark 2026-04-08 22:18:09 +02:00
parent 6ddef43d2a
commit 80f75afcd4
1 changed files with 7 additions and 2 deletions

View File

@ -28,6 +28,11 @@ jobs:
--exclude=".gitea/" \ --exclude=".gitea/" \
--exclude=".gitignore" \ --exclude=".gitignore" \
--exclude="designs/" \ --exclude="designs/" \
-e "ssh -p ${{ secrets.SSH_PORT }} -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \ -e 'ssh -p '"$SSH_PORT"' -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no' \
./ \ ./ \
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.TARGET_DIR }} ${SSH_USER}@${SSH_HOST}:${TARGET_DIR}
env:
SSH_PORT: ${{ secrets.SSH_PORT }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST }}
TARGET_DIR: ${{ secrets.TARGET_DIR }}