summaryrefslogtreecommitdiff
path: root/hooks/post-receive
blob: c57e9cd49c61c0cbadd4cdaf05d1001522051408 (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' ] || [ "${d%.*}" = 'res' ]; then
   10     printf 'Generating and deploying resume\n'
   11     make
   12     install -v -D out/resume.html "${WEB}/oper.io/resume.html"
   13   fi
   14 done

Generated by cgit