Initial commit
This commit is contained in:
8
deploy
Executable file
8
deploy
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
Reference in New Issue
Block a user