summaryrefslogtreecommitdiff
path: root/hooks/post-receive
blob: ada45859023082dd5a93ebf5d08c8e9c0731a038 (plain)
    1 #!/usr/bin/env bash
    2 
    3 export LANG=en_US.utf8
    4 export LC_ALL=en_US.utf8
    5 
    6 for i in ${FILES_A[@]} ${FILES_M[@]}; do
    7   d="$(dirname ${i})"
    8   f="$(basename ${i})"
    9   if [ "${f%.*}" = 'resume' ]; then
   10     printf 'Generating and deploying resume\n'
   11     make
   12     install -v -D out/resume.html "${WEB}/oper.io.git/master/resume.html"
   13   fi
   14 done

Generated by cgit