first commit
This commit is contained in:
9
deploy
Executable file
9
deploy
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
USER=loicgentil
|
||||
RSYNC_PASSWORDD=QjRUq94SkOK$W2iVE*fVBiO8
|
||||
HOST=ftp.loicgentil.fr
|
||||
DIR=/home/loicgentil/public_html/ # the directory where your website files should go
|
||||
|
||||
hugo && rsync -avz --progress -e ssh --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