mirror of
https://git.adityakumar.xyz/hugo-deploy.git
synced 2024-09-07 22:40:39 +00:00
9 lines
150 B
Bash
9 lines
150 B
Bash
#!/bin/sh
|
|
USER=remote-user
|
|
HOST=remote-host.tld
|
|
DIR=/remote/deployment/directory
|
|
|
|
hugo && rsync -Pavz --delete public/ ${USER}@${HOST}:${DIR}
|
|
|
|
exit 0
|