add SSH debug connection test to CI/CD workflow and enable batch mode for rsync
CI/CD / test (push) Successful in 43s
CI/CD / deploy (push) Failing after 37s

This commit is contained in:
2026-08-08 07:13:27 +09:00
parent 97c79b8b04
commit 5b1a9ac683
+2 -2
View File
@@ -60,9 +60,9 @@ jobs:
- name: 소스 동기화
run: |
rsync -avz \
rsync -avzP \
--exclude='.env' --exclude='media' --exclude='__pycache__' \
-e "ssh -o BatchMode=yes -p ${{ vars.DEPLOY_SSH_PORT }}" \
-e "ssh -vvv -i ~/.ssh/id_ed25519 -o BatchMode=yes -o IdentitiesOnly=yes -p ${{ vars.DEPLOY_SSH_PORT }}" \
pyproject.toml alembic.ini Dockerfile docker-compose.yml app migrations scripts \
${{ vars.DEPLOY_SSH_USER }}@${{ vars.DEPLOY_SSH_HOST }}:${{ vars.DEPLOY_REMOTE_PATH }}/