summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2020-12-02 16:55:16 -0700
committerAaron Ball <nullspoon@oper.io>2020-12-02 16:55:16 -0700
commit96e4c03f9eaeb9bb3ef241a05a45da966e297644 (patch)
treebf7662df65387d044338e2af78e85aff6ebf71b1
parent46c022dfc7519fd5048bbedbabd0efd81997a99d (diff)
downloadcrux-ports-arm64-96e4c03f9eaeb9bb3ef241a05a45da966e297644.tar.gz
crux-ports-arm64-96e4c03f9eaeb9bb3ef241a05a45da966e297644.tar.xz
Add delete to hook rsync
-rw-r--r--hooks/post-receive2
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}

Generated by cgit