cv2/deploy.sh
2025-09-29 21:56:09 +02:00

9 lines
265 B
Bash
Executable file

#!/bin/bash
# this should define:
# UNAME, HOST, PORT, DEST_DIR
source .env
typst compile cv.typ
echo "Uploading files:" cv.pdf
rsync --archive -hh --partial --info=stats1 --info=progress2 --modify-window=1 -e "ssh -p ${PORT}" *.pdf ${UNAME}@${HOST}:${DEST_DIR}/