2023-01-30 22:39:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
USER=caparepa
|
|
|
|
HOST=webdock
|
2023-01-31 01:34:11 +00:00
|
|
|
DIR=temp/blog.cachapa.xyz/ # the directory where your web site files should go
|
2023-01-30 22:39:25 +00:00
|
|
|
|
|
|
|
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
|