summaryrefslogtreecommitdiff
path: root/deploy.sh
blob: ea4fcfcf726bc8cc35383dedfc6386626ce06c5f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

USER=chad
HOST=fedang.net
DIR=/var/www/html

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