This commit is contained in:
@@ -126,8 +126,10 @@ jobs:
|
||||
|
||||
# 使用 rsync 同步文件
|
||||
# 修正: 将 -e 参数移到前面
|
||||
rsync -rltzv --delete --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||
-e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \
|
||||
rsync -rltzv --delete \
|
||||
--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/" \
|
||||
"root@${TARGET}:${WEB_ROOT}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user