summaryrefslogtreecommitdiff
path: root/deploy
blob: 3b076c6c208688d2af626fe1c1ae5c774355aefe (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
USER="root"
HOST="gustafrydholm.xyz"
DIR="/var/www/$HOST"   # the directory where your web site files should go

hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder

exit 0