This commit is contained in:
parent
e251f24e18
commit
eaeabf3bbf
5 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
USER=forgejo
|
||||
HOST=test1.melm.xyz
|
||||
DIR=/srv/ # the directory where your website files should go
|
||||
USER=devon
|
||||
HOST=192.168.1.145
|
||||
DIR=/var/www/ # the directory where your website files should go
|
||||
|
||||
hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public directory
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue