Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e4c831870 | |||
| ff544b9766 |
@@ -124,10 +124,13 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 确保构建产物可读
|
||||
chmod -R a+r "$H5_SOURCE_DIR"
|
||||
|
||||
# 使用 rsync 同步文件
|
||||
# 修正: 将 -e 参数移到前面
|
||||
rsync -rltzv --delete --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
|
||||
-e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \
|
||||
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