add SSH debug connection test to CI/CD workflow and enable batch mode for rsync
This commit is contained in:
@@ -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 }}/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user