diff options
-rw-r--r-- | hooks/post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 6afd48b..674ec8b 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -2,7 +2,7 @@ dest=${WEB}/oper.io.services/crux-ports-arm64 # Copy files from working cache to destination -cp -r ./* ${dest}/ +rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/ printf '[git] Updating %s\n' ${FILES_E[@]} printf '[git] Removing %s\n' ${FILES_D[@]} |