fix: remove explicit SSH config path from rsync to fix tilde expansion issue in cn-landing deploy

The rsync `-e "ssh -F ~/.ssh/config"` fails because `~` inside double
quotes is not expanded by bash. rsync passes the literal `~/.ssh/config`
to ssh, which cannot resolve it. Removing `-e` lets rsync use the default
ssh, which reads `$HOME/.ssh/config` automatically.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/45d1241e-8f50-40ac-898d-54e2a92b3300

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-11 13:13:41 +00:00 committed by GitHub
parent d68c59a366
commit 815f8f5f12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -112,7 +112,6 @@ jobs:
- name: 📦 同步落地页文件
run: |
rsync -avz --delete \
-e "ssh -F ~/.ssh/config" \
server/sites/cn-landing/ \
cn-target:/opt/zhuyuan-cn/sites/cn-landing/
echo "✅ 落地页已同步到 /opt/zhuyuan-cn/sites/cn-landing/"