2023-05-09 12:33:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
USER=root
|
|
|
|
HOST=digitalstudium.com
|
|
|
|
DIR=/srv/$HOST # the directory where your web site files should go
|
|
|
|
|
2023-07-22 13:57:00 +00:00
|
|
|
crater -p && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
2023-05-09 12:33:19 +00:00
|
|
|
|
|
|
|
exit 0
|