homepage action

This commit is contained in:
themelm 2025-03-29 15:04:43 -06:00
parent 1f14489c78
commit c1b91b6d24
2 changed files with 24 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
USER=devon
HOST=192.168.1.178
DIR=/var/www/ # the directory where your website files should go
USER=forgejo
HOST=test1.melm.xyz
DIR=/srv/ # 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