From 5b1a9ac683d239d15874282184bfa2b9a6e6f923 Mon Sep 17 00:00:00 2001 From: shinalok Date: Sat, 8 Aug 2026 07:13:27 +0900 Subject: [PATCH] add SSH debug connection test to CI/CD workflow and enable batch mode for rsync --- .gitea/workflows/ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index e41da07..bea735d 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -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 }}/