diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 304c13b..c5d9877 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -44,6 +44,7 @@ jobs: # 使用 rsync 透過 2224 Port 推送代碼 - name: Push Code to Production run: | + apt-get update && apt-get install -y rsync openssh-client # 注意:這裡的 -e 指定了 ssh port 2224 rsync -avz --delete \ --exclude='.git' \