test
This commit is contained in:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user