summaryrefslogtreecommitdiff
path: root/hooks/post-receive
blob: 312292bb0680f021f8ca5308db4dbdb78427b3ca (plain)
    1 #!/usr/bin/env bash
    2 dest=${WEB}/oper.io.services/crux-ports
    3 
    4 # Copy files from working cache to destination
    5 rsync -a \
    6   --delete \
    7   --no-group \
    8   --no-perms \
    9   --omit-dir-times \
   10   --exclude hooks \
   11   --exclude '.git*' \
   12   ./ ${dest}/ || true
   13 
   14 printf '[git] Updating %s\n' ${FILES_M[@]:-nothing}
   15 printf '[git] Removing %s\n' ${FILES_D[@]:-nothing}
   16 
   17 # Regen repo httpup files
   18 httpup-repgen "${dest}"

Generated by cgit