adityakumar.xyz/deploy.sh
2023-06-18 00:46:50 +05:30

8 lines
141 B
Bash

#!/bin/sh
USER=user
HOST=adityakumar.xyz
DIR=/home/user/adityakumar.xyz
hugo && rsync -Pavz --delete public/ ${USER}@${HOST}:${DIR}
exit 0