kestrelsnest-blog/deploy

8 lines
271 B
Plaintext
Raw Normal View History

2022-12-03 19:26:48 +00:00
#!/bin/sh
USER=admin
HOST=social
DIR=../../var/www/blog/www # the directory where your web site files should go
hugo && rsync -avz --no-t --no-p --delete public/ ${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
exit 0