Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff544b9766 |
@@ -126,8 +126,10 @@ jobs:
|
|||||||
|
|
||||||
# 使用 rsync 同步文件
|
# 使用 rsync 同步文件
|
||||||
# 修正: 将 -e 参数移到前面
|
# 修正: 将 -e 参数移到前面
|
||||||
rsync -rltzv --delete --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
rsync -rltzv --delete \
|
||||||
-e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \
|
--no-owner --no-group \
|
||||||
|
--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||||
|
-e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
|
||||||
"$H5_SOURCE_DIR/" \
|
"$H5_SOURCE_DIR/" \
|
||||||
"root@${TARGET}:${WEB_ROOT}/"
|
"root@${TARGET}:${WEB_ROOT}/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user