Updated cv and deploy script

This commit is contained in:
2021-07-20 18:24:12 +02:00
parent 313e90919c
commit 138bb970ca
4 changed files with 44 additions and 27 deletions

View File

@@ -88,5 +88,10 @@ setup_colors
TARGET=${args[0]}
cd ${script_dir}
rm -rf public/
for f in "cv.html" "cv.pdf"; do
if [ ~/dev/drafts/cv/${f} -nt static/media/${f} ]; then
cp -f ~/dev/drafts/cv/${f} static/media/${f}
fi
done
hugo && rsync -avz --delete public/ ${TARGET}
cd -