mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
Change deploy method
This commit is contained in:
8
deploy
Executable file
8
deploy
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
USER=root
|
||||
HOST=digitalstudium.com
|
||||
DIR=/srv/$HOST # the directory where your web site files should go
|
||||
|
||||
hugo --minify && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user