Add clean steps to make upload
This commit is contained in:
parent
54a0009e62
commit
6a6ffb79aa
2
Makefile
2
Makefile
|
@ -18,6 +18,8 @@ pubdate:
|
||||||
sed -i "s/pubdate: now/pubdate: $$(date -Isec)/" src/blog/**/*.md
|
sed -i "s/pubdate: now/pubdate: $$(date -Isec)/" src/blog/**/*.md
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
test -e srv && rm -rf srv || true
|
||||||
./build.py srv/
|
./build.py srv/
|
||||||
pagefind --site srv/
|
pagefind --site srv/
|
||||||
|
ssh ssh.alogoulogoi.com rm -r /srv/www.alogoulogoi.com/*
|
||||||
rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com
|
rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com
|
Loading…
Reference in New Issue