1
0
Fork 0

Add clean steps to make upload

This commit is contained in:
Tim Van Baak 2024-01-23 22:08:27 -08:00
parent 54a0009e62
commit 6a6ffb79aa
1 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ pubdate:
sed -i "s/pubdate: now/pubdate: $$(date -Isec)/" src/blog/**/*.md
upload:
test -e srv && rm -rf srv || true
./build.py srv/
pagefind --site srv/
rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com
ssh ssh.alogoulogoi.com rm -r /srv/www.alogoulogoi.com/*
rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com