based.cooking/update

13 lines
296 B
Plaintext
Raw Normal View History

2021-03-10 17:02:35 +00:00
#!/bin/sh
# If you're Luke, add an arg to update the website too.
2021-03-10 22:13:31 +00:00
git pull hub master
2021-03-10 17:02:35 +00:00
#rm dest -rf
#mkdir -p dest
ssg5 src dest "Based Cooking (https://based.cooking)" "https://based.cooking"
[ -n "$1" ] &&
rsync -auvrlP --delete-after ~/.local/src/food/ root@based.cooking:/var/www/cooking