在部署脚本中添加 rsync 排除选项以避免同步 .user.ini 文件
All checks were successful
Build and Deploy Qingshuige / build-deploy (push) Successful in 2s
All checks were successful
Build and Deploy Qingshuige / build-deploy (push) Successful in 2s
This commit is contained in:
@@ -32,4 +32,4 @@ jobs:
|
||||
cd repo
|
||||
TARGET_DIR=/www/wwwroot/qingshuige.ink
|
||||
sudo -n mkdir -p $TARGET_DIR
|
||||
sudo -n rsync -av --delete public/ $TARGET_DIR/
|
||||
sudo -n rsync --exclude='.user.ini' -av --delete public/ $TARGET_DIR/
|
||||
|
||||
Reference in New Issue
Block a user