Wordsmithing and tweaking scripts

This commit is contained in:
Eric Wagoner
2026-01-12 15:31:05 -05:00
parent 1a5d864d9b
commit fc1f1c0c67
3 changed files with 10 additions and 4 deletions

4
deploy
View File

@@ -3,6 +3,10 @@ USER=admin
HOST=social
DIR=../../var/www/blog/www # the directory where your web site files should go
# Clean build directories to force full regeneration
rm -rf public resources
# Build site and index, then deploy
hugo && pagefind --site public && rsync -avz --no-t --no-p --delete public/ ${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
exit 0