mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 14:24:43 -04:00
Add note for rsync deploy command (#1415)
Co-authored-by: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> Co-authored-by: Christian Oliff <christianoliff@pm.me>
This commit is contained in:
parent
c482133f17
commit
ffbe17a482
@ -100,7 +100,7 @@ USER=my-user
|
||||
HOST=my-server.com
|
||||
DIR=my/directory/to/topologix.fr/ # the directory where your web site files should go
|
||||
|
||||
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR}
|
||||
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
|
||||
|
||||
exit 0
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user