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 7a95961..acda00c 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 -rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/ || true +rsync -av --inplace --delete --exclude hooks --exclude '.git*' ./ ${dest}/ || true printf '[git] Updating %s\n' ${FILES_M[@]:-nothing} printf '[git] Removing %s\n' ${FILES_D[@]:-nothing} |