Update deploy.sh

This commit is contained in:
Eryn Wells 2022-01-23 11:49:23 -08:00
parent ba99fa8f98
commit 48fe338742

View file

@ -2,13 +2,13 @@
# Deploy erynwells.me to my web root
# Eryn Wells <eryn@erynwells.me>
echo "----- Filtering .DS_Store files"
print -P "%BFiltering .DS_Store files%b"
find . -name '.DS_Store' -print -delete
echo "----- Generating site"
print -P "%BGenerating site%b"
hugo
echo
echo "----- Rsyncing site to nutmeg.erynwells.me"
print -P "%BRsyncing site to nutmeg.erynwells.me%b"
rsync -avz --no-times --no-perms --delete public/ \
eryn@nutmeg.erynwells.me:/srv/www/erynwells.me/html