fix: add rsync+ssh install step in CD pipeline
All checks were successful
CD Pipeline / deploy (push) Successful in 1m36s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m36s
This commit is contained in:
@@ -95,6 +95,11 @@ jobs:
|
||||
-H "Content-Type: application/json" \
|
||||
-d "$(jq -n --arg c "${{ secrets.TELEGRAM_CHAT_ID }}" --arg t "$MSG" '{chat_id:$c,text:$t,parse_mode:"HTML"}')"
|
||||
|
||||
# ── 安裝部署工具 ────────────────────────────────────────────────────
|
||||
- name: 安裝 rsync / ssh
|
||||
run: |
|
||||
apt-get update -qq && apt-get install -y -qq rsync openssh-client
|
||||
|
||||
# ── 模式 A:僅同步 Python 檔案(最常見,~10s) ────────────────────────
|
||||
- name: 同步 Python 檔案至 188
|
||||
if: steps.deploy_type.outputs.type == 'sync'
|
||||
|
||||
Reference in New Issue
Block a user