This commit is contained in:
wvr
2023-05-14 16:02:52 -05:00
commit b79f3a518d
256 changed files with 9156 additions and 0 deletions

16
update-site.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
host=persimmon
path=/website/html-hugo
folder=persimmon
cd "$folder" || exit 1
hugo -D || exit 1
cp -rf res public/
rsync='rsync -avhu --progress --delete --partial --links'
$rsync public/ $host:$path
ssh persimmon 'cd /website ; sh fix.sh'