test
This commit is contained in:
@@ -44,6 +44,7 @@ jobs:
|
|||||||
# 使用 rsync 透過 2224 Port 推送代碼
|
# 使用 rsync 透過 2224 Port 推送代碼
|
||||||
- name: Push Code to Production
|
- name: Push Code to Production
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update && apt-get install -y rsync openssh-client
|
||||||
# 注意:這裡的 -e 指定了 ssh port 2224
|
# 注意:這裡的 -e 指定了 ssh port 2224
|
||||||
rsync -avz --delete \
|
rsync -avz --delete \
|
||||||
--exclude='.git' \
|
--exclude='.git' \
|
||||||
|
|||||||
Reference in New Issue
Block a user