Automatic html export of bookmarks
This commit is contained in:
parent
c27b88619a
commit
39233b5e78
@ -72,8 +72,14 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
|
||||
if [[ ! -z $(git status -s bookmarks.db) ]]
|
||||
then
|
||||
git add bookmarks.db
|
||||
git commit -m "Changed bookmarks - $(date +%F)"
|
||||
rm bookmarks.org;
|
||||
buku -e bookmarks.org && \
|
||||
cat header.org bookmarks.org > index.org && \
|
||||
emacs index.org --batch -f org-html-export-to-html --kill && \
|
||||
git add index.html
|
||||
|
||||
git add bookmarks.db && \
|
||||
git commit -m "Changed bookmarks - $(date +%F)" && \
|
||||
git push
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user