From 815f8f5f120a5fed611bc91f95aabceeb285e6f5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:13:41 +0000 Subject: [PATCH] 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> --- .github/workflows/deploy-cn-landing.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy-cn-landing.yml b/.github/workflows/deploy-cn-landing.yml index 19b85f47..013b273c 100644 --- a/.github/workflows/deploy-cn-landing.yml +++ b/.github/workflows/deploy-cn-landing.yml @@ -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/"