This commit is contained in:
@@ -124,11 +124,12 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 确保构建产物可读
|
||||
chmod -R a+r "$H5_SOURCE_DIR"
|
||||
|
||||
# 使用 rsync 同步文件
|
||||
# 修正: 将 -e 参数移到前面
|
||||
rsync -rltzv --delete \
|
||||
--no-owner --no-group \
|
||||
--chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||
rsync -rltvz --delete \
|
||||
--no-perms --no-times --no-owner --no-group \
|
||||
-e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
|
||||
"$H5_SOURCE_DIR/" \
|
||||
"root@${TARGET}:${WEB_ROOT}/"
|
||||
|
||||
Reference in New Issue
Block a user