diff options
author | Aaron Ball <nullspoon@oper.io> | 2020-12-02 16:55:16 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2020-12-02 16:55:16 -0700 |
commit | 96e4c03f9eaeb9bb3ef241a05a45da966e297644 (patch) | |
tree | bf7662df65387d044338e2af78e85aff6ebf71b1 | |
parent | 46c022dfc7519fd5048bbedbabd0efd81997a99d (diff) | |
download | crux-ports-arm64-96e4c03f9eaeb9bb3ef241a05a45da966e297644.tar.gz crux-ports-arm64-96e4c03f9eaeb9bb3ef241a05a45da966e297644.tar.xz |
Add delete to hook rsync
-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} |