"Updates"
This commit is contained in:
4
deploy
4
deploy
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
USER=pleb
|
||||
HOST=bob
|
||||
DIR=/var/www/resumes/julien/ # the directory where your website files should go
|
||||
HOST=patrick
|
||||
DIR=/mnt/ssd/www/resumes/julien/ # the directory where your website files should go
|
||||
|
||||
hugo && rsync -avz --rsync-path='sudo rsync' --progress -e ssh --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user