瀏覽代碼

Preserve permissions

Issue when you tweak read permissions for security, and those
permissions weren't updated.
DricomDragon 5 年之前
父節點
當前提交
2104b3ecd0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ci/install-web-files.fish

+ 1 - 1
ci/install-web-files.fish

@@ -24,6 +24,6 @@ if not test -e $sourcePath
 end
 
 # Deploy
-rsync --recursive --verbose --delete-after $sourcePath $destinationPath
+rsync --perms --recursive --verbose --delete-after $sourcePath $destinationPath
 
 exit 0