mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
8 lines
266 B
Bash
Executable File
8 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
USER=root
|
|
HOST=digitalstudium.com
|
|
DIR=/srv/$HOST # the directory where your web site files should go
|
|
|
|
franca -p && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
|
|
|
exit 0 |