Add clean steps to make upload
This commit is contained in:
parent
54a0009e62
commit
6a6ffb79aa
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue